Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9883/0.9883, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.861/1.861, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.089e-05, allocations: 3.734 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001931/0.001952, allocations: 1.556 MB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.00223, allocations: 112.3 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.002261, allocations: 4 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.002305, allocations: 0 / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.002366, allocations: 18.3 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.002588, allocations: 19.98 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.897e-05/0.002677, allocations: 43.19 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.002758, allocations: 14.2 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.002822, allocations: 21.19 kB / 0.7618 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.00287, allocations: 17.73 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.002887, allocations: 4.656 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.002946, allocations: 20.52 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.002995, allocations: 14.39 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.003016, allocations: 15.34 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.003125, allocations: 57.12 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.003127, allocations: 0 / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003127, allocations: 0 / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.00313, allocations: 0 / 0.7619 GB, free: 4.773 MB / 0.7136 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.0003117/0.003442, allocations: 266 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.003473, allocations: 12.02 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.003498, allocations: 10.88 kB / 0.7622 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.724e-05/0.003575, allocations: 117.7 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.003584, allocations: 384 / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.003594, allocations: 4.375 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.003701, allocations: 73.69 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.003708, allocations: 0.9375 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.003714, allocations: 384 / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.003719, allocations: 1.125 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.122e-05/0.00374, allocations: 11.92 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.003937, allocations: 166.7 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.003999, allocations: 75.38 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.004013, allocations: 4.859 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.004115, allocations: 32.14 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.004136, allocations: 36.02 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004137, allocations: 3.938 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001032/0.00424, allocations: 45.62 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.004268, allocations: 51.41 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.004336, allocations: 135.9 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.004348, allocations: 25.7 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.004377, allocations: 88.12 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.004395, allocations: 17.14 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.004418, allocations: 13.72 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.004496, allocations: 322.8 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.004508, allocations: 3.484 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.064e-05/0.004518, allocations: 4 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.004543, allocations: 18.92 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.004545, allocations: 0 / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.385e-05/0.004589, allocations: 41.69 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.004598, allocations: 4 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.004602, allocations: 0 / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.004614, allocations: 7.875 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.00467, allocations: 11.98 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.004673, allocations: 0 / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.004695, allocations: 22.81 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.0047, allocations: 0 / 0.7634 GB, free: 3.031 MB / 0.7136 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 5.228e-05/0.004752, allocations: 108.7 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.004767, allocations: 7.984 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.004832, allocations: 45.69 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.004835, allocations: 4.312 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.004836, allocations: 0 / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.004839, allocations: 5.484 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.954e-05/0.004919, allocations: 73.89 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.004921, allocations: 3.984 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.004947, allocations: 15.92 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.004948, allocations: 0.6562 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-06/0.004952, allocations: 0 / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004953, allocations: 0.8125 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004953, allocations: 0 / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.005035, allocations: 197 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.005043, allocations: 7.953 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.00505, allocations: 3.938 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.005083, allocations: 4 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.00511, allocations: 7.984 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.005113, allocations: 3.938 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.905e-05/0.005132, allocations: 24.83 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005132, allocations: 3.125 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001272/0.005259, allocations: 12 kB / 0.7639 GB, free: 2.461 MB / 0.7136 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 8.782e-05/0.005347, allocations: 80.36 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.729e-05/0.005404, allocations: 16.84 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.005407, allocations: 0 / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.005421, allocations: 8.859 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.005546, allocations: 17.8 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.005763, allocations: 142 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.005797, allocations: 63.28 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.691e-05/0.005814, allocations: 5.062 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.005858, allocations: 57.8 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.005859, allocations: 4 kB / 0.7643 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of Templates: time 0.002166/0.008026, allocations: 0.793 MB / 0.7651 GB, free: 1.262 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.864464461803436]