Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001482/0.001482, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001739/0.001739, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 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.992/0.992, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.165/2.165, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.704e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002649/0.002676, allocations: 1.54 MB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.002997, allocations: 109.8 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.003027, allocations: 0 / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.003074, allocations: 4.656 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.003138, allocations: 14.7 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.003375, allocations: 23.97 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.905e-05/0.003464, allocations: 44.94 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.003561, allocations: 8 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.003624, allocations: 23.97 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.003678, allocations: 25.03 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.003694, allocations: 0 / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.003758, allocations: 15.98 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.003807, allocations: 17.45 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.003833, allocations: 8 kB / 0.88 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003975, allocations: 59.8 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.003977, allocations: 3.938 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.82e-07/0.003977, allocations: 0.9688 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003981, allocations: 0 / 0.88 GB, free: 4.434 MB / 0.8386 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.0004152/0.004396, allocations: 393.1 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.004435, allocations: 8.031 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.004649, allocations: 40.86 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.004743, allocations: 116.5 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.004756, allocations: 384 / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.00477, allocations: 4.375 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.004928, allocations: 66.92 kB / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.00494, allocations: 4.188 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.004951, allocations: 4.359 kB / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.004959, allocations: 384 / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.005017, allocations: 20.44 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.005388, allocations: 283.8 kB / 0.8809 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.075e-05/0.005479, allocations: 31.06 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.005517, allocations: 15.69 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.005528, allocations: 4 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.005553, allocations: 33.39 kB / 0.881 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.005554, allocations: 0 / 0.881 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001937/0.005748, allocations: 65.55 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.005778, allocations: 51.41 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.005887, allocations: 197 kB / 0.8813 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.005898, allocations: 25.7 kB / 0.8813 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.005961, allocations: 138.9 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.005983, allocations: 15.91 kB / 0.8815 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.00602, allocations: 19.38 kB / 0.8815 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.006142, allocations: 0.4884 MB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.819e-05/0.00617, allocations: 15.98 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.006193, allocations: 4 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/0.006247, allocations: 23.62 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006249, allocations: 0 / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.781e-05/0.006347, allocations: 45.64 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.006391, allocations: 15.94 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.006396, allocations: 0 / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.006414, allocations: 0 / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.00653, allocations: 15.98 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006535, allocations: 0 / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.006578, allocations: 7.938 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.006586, allocations: 0 / 0.8821 GB, free: 2.109 MB / 0.8386 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 7.17e-05/0.006658, allocations: 160.6 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.006684, allocations: 4 kB / 0.8823 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.006715, allocations: 11.94 kB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006717, allocations: 7.938 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.00672, allocations: 0 / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006723, allocations: 4 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.006867, allocations: 136.5 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006867, allocations: 0 / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.006917, allocations: 8 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.006918, allocations: 0 / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.006925, allocations: 0 / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.006928, allocations: 7.938 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.00693, allocations: 336 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.007069, allocations: 199.9 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.007078, allocations: 11.94 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.007088, allocations: 3.938 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.007141, allocations: 11.94 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.007174, allocations: 3.984 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.007177, allocations: 0 / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.007233, allocations: 143.1 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007234, allocations: 0 / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001718/0.007405, allocations: 8 kB / 0.8828 GB, free: 1.336 MB / 0.8386 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 6.912e-05/0.007474, allocations: 99.25 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.192e-05/0.007566, allocations: 23.67 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007567, allocations: 0 / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.007592, allocations: 11.69 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.00777, allocations: 19.98 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.008029, allocations: 157.9 kB / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.008063, allocations: 63.34 kB / 0.8831 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.008082, allocations: 4 kB / 0.8831 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.008115, allocations: 12.5 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.008115, allocations: 0 / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of Templates: time 0.002096/0.01021, allocations: 0.8419 MB / 0.884 GB, free: 52 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.4506893660873175]