Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002455/0.002455, allocations: 198.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8967, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002927/0.8996, allocations: 1.438 MB / 1.275 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003857/0.9, allocations: 107.7 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.9001, allocations: 0 / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.328e-05/0.9001, allocations: 0 / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/0.9002, allocations: 7.875 kB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.9004, allocations: 19.92 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.9005, allocations: 19.98 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.9006, allocations: 12 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.9006, allocations: 15.91 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.9007, allocations: 7.984 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.9007, allocations: 4 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.9008, allocations: 19.92 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.9008, allocations: 11.94 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.9009, allocations: 11.92 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.901, allocations: 34.56 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.901, allocations: 3.984 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.901, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.901, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000577/0.9016, allocations: 353.8 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9016, allocations: 12.03 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.9017, allocations: 0.9375 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.9018, allocations: 176.3 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.9018, allocations: 4.375 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.9018, allocations: 384 / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.902, allocations: 54.17 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.902, allocations: 4.188 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.902, allocations: 3.938 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.9021, allocations: 8 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.9022, allocations: 35.95 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.9026, allocations: 253 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.9027, allocations: 46.5 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.9028, allocations: 20.84 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.9029, allocations: 7.984 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.9029, allocations: 30.56 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.9029, allocations: 0 / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003996/0.9033, allocations: 89.73 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.9033, allocations: 51.41 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.9034, allocations: 105.8 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.9035, allocations: 29.7 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.9035, allocations: 88.08 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.9035, allocations: 3.953 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.9036, allocations: 13.72 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9037, allocations: 318.9 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.64e-05/0.9038, allocations: 19.98 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.9039, allocations: 15.98 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.904, allocations: 40.81 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.904, allocations: 7.938 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002366/0.9043, allocations: 85.55 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.9043, allocations: 4 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9043, allocations: 0 / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9043, allocations: 4 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.9044, allocations: 7.938 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.9044, allocations: 3.984 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.9045, allocations: 4 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.9045, allocations: 0 / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.564e-05/0.9045, allocations: 117.8 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.9046, allocations: 0 / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.9048, allocations: 81.17 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9048, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9048, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9048, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.905, allocations: 169.6 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.905, allocations: 32 / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.9051, allocations: 8 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9051, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.9051, allocations: 4.234 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.9051, allocations: 11.94 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9051, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.9053, allocations: 163.5 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.9054, allocations: 89.11 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.9054, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.9055, allocations: 7.938 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.9055, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.9055, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.9056, allocations: 87.28 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9056, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002331/0.9058, allocations: 15.92 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.906, allocations: 99.81 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.9062, allocations: 43.89 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9062, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.9063, allocations: 23.98 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.9066, allocations: 5.656 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.907, allocations: 129.5 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.9073, allocations: 0.6768 MB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.9074, allocations: 3.984 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.9074, allocations: 15.44 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.9074, allocations: 3.938 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.003252/0.9106, allocations: 0.5431 MB / 1.28 GB, free: 14.29 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.001849885098636]