Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001006/0.001006, allocations: 80.8 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.001277/0.001277, allocations: 161 kB / 24.16 MB, free: 336 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.9771/0.9771, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.925/1.925, allocations: 377.9 MB / 0.624 GB, free: 8.387 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.659e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002429/0.002455, allocations: 0.9591 MB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003865, allocations: 0.951 MB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.003936, allocations: 5.984 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.003979, allocations: 7.875 kB / 0.7619 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.004103, allocations: 22.67 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.004324, allocations: 53.02 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.004496, allocations: 130.9 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.004637, allocations: 43.14 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.004876, allocations: 79.86 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.686e-05/0.004973, allocations: 32.66 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.005, allocations: 12 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.00507, allocations: 20.72 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.0051, allocations: 27.86 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.005144, allocations: 36.72 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.005318, allocations: 91.59 kB / 0.7625 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005321, allocations: 1.375 kB / 0.7625 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.005322, allocations: 0 / 0.7625 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.005326, allocations: 4 kB / 0.7625 GB, free: 4.164 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004465/0.005773, allocations: 321.6 kB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.00581, allocations: 8.031 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.006015, allocations: 30.06 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.006192, allocations: 142.1 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.006205, allocations: 4.375 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.006219, allocations: 9.625 kB / 0.763 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.006383, allocations: 91.75 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006391, allocations: 192 / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.006404, allocations: 8.969 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.006412, allocations: 4 kB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.006477, allocations: 25.48 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.006903, allocations: 229.2 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.007064, allocations: 57.23 kB / 0.7634 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.007098, allocations: 16.84 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.007112, allocations: 0 / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.007143, allocations: 34.56 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.007145, allocations: 0 / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001965/0.007341, allocations: 65.61 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.007384, allocations: 54.38 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.007499, allocations: 147.3 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.007525, allocations: 29.7 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.007584, allocations: 108.1 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.007611, allocations: 23.83 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.00766, allocations: 21.7 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.007754, allocations: 322.8 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.007781, allocations: 11.94 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.007804, allocations: 9.438 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.007863, allocations: 32.81 kB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007865, allocations: 3.938 kB / 0.7642 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.999e-05/0.007965, allocations: 49.69 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.007982, allocations: 8.594 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007987, allocations: 0.6562 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.008002, allocations: 0 / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.008087, allocations: 17.89 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.008091, allocations: 3.938 kB / 0.7643 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.008142, allocations: 15.94 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.00815, allocations: 0 / 0.7643 GB, free: 2.156 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.082e-05/0.008231, allocations: 112.3 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.008265, allocations: 12 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.008299, allocations: 16.77 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008302, allocations: 0 / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.008304, allocations: 0 / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.008309, allocations: 7.938 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.008464, allocations: 93.84 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008466, allocations: 2.281 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.008529, allocations: 8 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008531, allocations: 0 / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.008541, allocations: 3.984 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.008543, allocations: 0 / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.008544, allocations: 4 kB / 0.7645 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.008691, allocations: 160.7 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.008709, allocations: 11.95 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.008732, allocations: 0.9375 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.008818, allocations: 4 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.008874, allocations: 18.25 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.008882, allocations: 3.984 kB / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.008924, allocations: 38.64 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.008924, allocations: 0 / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002237/0.009148, allocations: 23.89 kB / 0.7648 GB, free: 1.609 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001152/0.009263, allocations: 82.94 kB / 0.7649 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.00937, allocations: 36.77 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.009374, allocations: 7.938 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.009416, allocations: 20.84 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.009629, allocations: 8 kB / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.01032, allocations: 229.9 kB / 0.7652 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.01037, allocations: 69.09 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.01042, allocations: 4.875 kB / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.0105, allocations: 63.36 kB / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.0105, allocations: 0.6562 kB / 0.7653 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of Templates: time 0.003886/0.01439, allocations: 1.118 MB / 0.7664 GB, free: 15.98 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.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.905030197929591]