Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009114/0.0009114, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009287/0.0009287, allocations: 169 kB / 23.02 MB, free: 1.543 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.9285/0.9285, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.082/2.082, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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.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_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.607e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002043/0.00207, allocations: 0.9263 MB / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003115, allocations: 0.9482 MB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.003177, allocations: 4 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.003217, allocations: 7.875 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.445e-05/0.003311, allocations: 25.53 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.003526, allocations: 47.89 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.003647, allocations: 131.6 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003762, allocations: 34.73 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.003932, allocations: 75.81 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.997e-05/0.004012, allocations: 43.88 kB / 0.8804 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.004036, allocations: 17.06 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.004083, allocations: 23.98 kB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.004104, allocations: 23.91 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.004145, allocations: 32.95 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.004307, allocations: 103.6 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004309, allocations: 1.125 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00431, allocations: 0 / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004314, allocations: 0 / 0.8805 GB, free: 3.891 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005169/0.004831, allocations: 464.9 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.004871, allocations: 8.031 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.005046, allocations: 39.3 kB / 0.881 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.005253, allocations: 145.2 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.005267, allocations: 8.375 kB / 0.8812 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.005285, allocations: 16.31 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.005452, allocations: 99.16 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.005466, allocations: 3.938 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.005479, allocations: 4 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.005491, allocations: 7.984 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.005555, allocations: 27.97 kB / 0.8813 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.006056, allocations: 368.1 kB / 0.8817 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.006293, allocations: 60.77 kB / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.006338, allocations: 23.67 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.006356, allocations: 4 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.006377, allocations: 33.89 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.006379, allocations: 1.875 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001846/0.006563, allocations: 81.94 kB / 0.8819 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.00659, allocations: 55.34 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.006701, allocations: 203.9 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.006721, allocations: 37.69 kB / 0.8822 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.006786, allocations: 155.9 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.006808, allocations: 23.8 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.006846, allocations: 31.36 kB / 0.8824 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006958, allocations: 0.4923 MB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.006986, allocations: 13.59 kB / 0.8829 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.007052, allocations: 94.45 kB / 0.883 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.007104, allocations: 23.69 kB / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007106, allocations: 0 / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001013/0.007207, allocations: 81.78 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.007219, allocations: 4 kB / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007223, allocations: 4 kB / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.00724, allocations: 3.938 kB / 0.8831 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.007295, allocations: 11.94 kB / 0.8831 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.007301, allocations: 3.984 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.007337, allocations: 11.89 kB / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.007345, allocations: 4 kB / 0.8831 GB, free: 1.066 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: 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 7.023e-05/0.007415, allocations: 156.6 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.007438, allocations: 19.95 kB / 0.8833 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.007467, allocations: 12.77 kB / 0.8833 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.007471, allocations: 7.938 kB / 0.8833 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.007475, allocations: 4 kB / 0.8833 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007477, allocations: 0 / 0.8833 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.007595, allocations: 144.6 kB / 0.8834 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.007596, allocations: 0 / 0.8834 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.007625, allocations: 11.98 kB / 0.8834 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007627, allocations: 0 / 0.8834 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007635, allocations: 4 kB / 0.8834 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007637, allocations: 4 kB / 0.8834 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.007643, allocations: 11.86 kB / 0.8835 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.007777, allocations: 211.9 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.007792, allocations: 11.91 kB / 0.8837 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.007818, allocations: 8 kB / 0.8837 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.007886, allocations: 3.984 kB / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.007951, allocations: 23.91 kB / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.007955, allocations: 0 / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.008012, allocations: 148.3 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008012, allocations: 0 / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001568/0.008169, allocations: 27.88 kB / 0.8839 GB, free: 204 kB / 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: 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 7.333e-05/0.008242, allocations: 103.2 kB / 0.884 GB, free: 92 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.008357, allocations: 51.62 kB / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008359, allocations: 0 / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.008393, allocations: 28.02 kB / 0.884 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.008588, allocations: 15.98 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.009149, allocations: 226.4 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.009188, allocations: 64 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.009222, allocations: 7.984 kB / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.009261, allocations: 16.5 kB / 0.8844 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.009262, allocations: 0 / 0.8844 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.002763/0.01202, allocations: 1.142 MB / 0.8855 GB, free: 14.52 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.365531931165606]