Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.829/2.829, allocations: 443.5 MB / 0.7309 GB, free: 12.69 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 1.06 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8772, allocations: 160.7 MB / 1.217 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002782/0.88, allocations: 1.487 MB / 1.218 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.8803, allocations: 116.4 kB / 1.218 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.8804, allocations: 1.156 kB / 1.218 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.8804, allocations: 0 / 1.218 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.8805, allocations: 13.77 kB / 1.218 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.8807, allocations: 22.19 kB / 1.218 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.8807, allocations: 41.11 kB / 1.218 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.8808, allocations: 11.89 kB / 1.218 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.8809, allocations: 16.95 kB / 1.218 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.8809, allocations: 22.36 kB / 1.218 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.881, allocations: 8.031 kB / 1.218 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.881, allocations: 23.98 kB / 1.218 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.8811, allocations: 14.62 kB / 1.218 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.8811, allocations: 28.73 kB / 1.218 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.8812, allocations: 59.92 kB / 1.218 GB, free: 2.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8812, allocations: 0 / 1.218 GB, free: 2.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8812, allocations: 0.75 kB / 1.218 GB, free: 2.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.8813, allocations: 0 / 1.218 GB, free: 2.598 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000567/0.8818, allocations: 385.1 kB / 1.219 GB, free: 2.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.8819, allocations: 10.95 kB / 1.219 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.8819, allocations: 7.391 kB / 1.219 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.882, allocations: 181.3 kB / 1.219 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.882, allocations: 4.375 kB / 1.219 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.8821, allocations: 3 kB / 1.219 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.8823, allocations: 75.45 kB / 1.219 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8823, allocations: 192 / 1.219 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8823, allocations: 7.938 kB / 1.219 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8823, allocations: 1.125 kB / 1.219 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.8826, allocations: 71.42 kB / 1.219 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.883, allocations: 284.4 kB / 1.219 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.8832, allocations: 72.75 kB / 1.219 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.8834, allocations: 42.36 kB / 1.219 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.8836, allocations: 107 kB / 1.22 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.8837, allocations: 39.72 kB / 1.22 GB, free: 1.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.8837, allocations: 0 / 1.22 GB, free: 1.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005553/0.8842, allocations: 154.4 kB / 1.22 GB, free: 1.273 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.8843, allocations: 52.75 kB / 1.22 GB, free: 1.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.8844, allocations: 124.3 kB / 1.22 GB, free: 1.102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.8844, allocations: 29.7 kB / 1.22 GB, free: 1.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.8845, allocations: 98.78 kB / 1.22 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.8845, allocations: 9.219 kB / 1.22 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.8845, allocations: 17.47 kB / 1.22 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8847, allocations: 316.1 kB / 1.22 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.8848, allocations: 37.41 kB / 1.22 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.885, allocations: 45.81 kB / 1.22 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.8852, allocations: 74.62 kB / 1.221 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.8852, allocations: 3.938 kB / 1.221 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003263/0.8856, allocations: 117.8 kB / 1.221 GB, free: 484 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8856, allocations: 8.156 kB / 1.221 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.8856, allocations: 0 / 1.221 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8856, allocations: 1.281 kB / 1.221 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.8857, allocations: 17.92 kB / 1.221 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8857, allocations: 1.125 kB / 1.221 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.8858, allocations: 14.84 kB / 1.221 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.8858, allocations: 1.375 kB / 1.221 GB, free: 468 kB / 0.92 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 (3): * Single equations (assignments): 3 * 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 9.359e-05/0.8859, allocations: 121.1 kB / 1.221 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.8859, allocations: 2.531 kB / 1.221 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.8863, allocations: 125.5 kB / 1.221 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8863, allocations: 1.156 kB / 1.221 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8863, allocations: 0 / 1.221 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8863, allocations: 0 / 1.221 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.8865, allocations: 184.5 kB / 1.221 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8865, allocations: 0 / 1.221 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.8866, allocations: 18.2 kB / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8866, allocations: 0.9688 kB / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8866, allocations: 0 / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8866, allocations: 1.094 kB / 1.221 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8866, allocations: 3.938 kB / 1.221 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.887, allocations: 209.6 kB / 1.221 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.8871, allocations: 82.22 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.8871, allocations: 1.344 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.8872, allocations: 14.02 kB / 1.221 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.8872, allocations: 6.391 kB / 1.221 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.8872, allocations: 5.281 kB / 1.221 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.345e-05/0.8873, allocations: 104.1 kB / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8873, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002248/0.8875, allocations: 13.12 kB / 1.222 GB, free: 15.64 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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.0001476/0.8877, allocations: 103.4 kB / 1.222 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.888, allocations: 72.89 kB / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.888, allocations: 4 kB / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.8882, allocations: 45.31 kB / 1.222 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.8884, allocations: 9.906 kB / 1.222 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.8887, allocations: 173.7 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.8891, allocations: 0.6909 MB / 1.223 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.8891, allocations: 14.75 kB / 1.223 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.8891, allocations: 0 / 1.223 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.002437/0.8916, allocations: 0.8966 MB / 1.223 GB, free: 14.15 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches