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.00131/0.00131, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.0009671/0.0009671, allocations: 169.4 kB / 24.05 MB, free: 460 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.8656/0.8656, allocations: 177.1 MB / 204.5 MB, free: 5.121 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.046/2.046, allocations: 429.5 MB / 0.6743 GB, free: 3.871 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.563e-06/1.563e-06, allocations: 0.9844 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.067e-05, allocations: 5.406 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001589/0.00161, allocations: 0.9252 MB / 0.8803 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.002549, allocations: 0.9394 MB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.002615, allocations: 4 kB / 0.8812 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.00265, allocations: 11.86 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.002748, allocations: 16.48 kB / 0.8812 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.002953, allocations: 52.48 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.003073, allocations: 139.5 kB / 0.8814 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.003181, allocations: 34.81 kB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.003349, allocations: 79.86 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.003425, allocations: 40.53 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.003446, allocations: 12 kB / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-05/0.003488, allocations: 13.34 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.003512, allocations: 31.84 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.00354, allocations: 35.86 kB / 0.8817 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.003669, allocations: 95.61 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003671, allocations: 0 / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003672, allocations: 0 / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003676, allocations: 4 kB / 0.8818 GB, free: 3.621 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.0003969/0.004073, allocations: 452 kB / 0.8822 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.004103, allocations: 8.031 kB / 0.8822 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.004248, allocations: 32.83 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.00438, allocations: 149 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.004393, allocations: 8.375 kB / 0.8824 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.004405, allocations: 9.625 kB / 0.8824 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.004523, allocations: 90.86 kB / 0.8825 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004531, allocations: 192 / 0.8825 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.00454, allocations: 7.375 kB / 0.8825 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.004546, allocations: 4 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.004586, allocations: 25.3 kB / 0.8825 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.004916, allocations: 348 kB / 0.8828 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.00504, allocations: 59.16 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.005066, allocations: 19.67 kB / 0.8829 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.005077, allocations: 0.9688 kB / 0.8829 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.005097, allocations: 37.39 kB / 0.8829 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.005098, allocations: 0 / 0.8829 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001553/0.005253, allocations: 70.34 kB / 0.883 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.005279, allocations: 52.81 kB / 0.8831 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.005368, allocations: 207.4 kB / 0.8833 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.005384, allocations: 29.7 kB / 0.8833 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.005447, allocations: 158.7 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.005468, allocations: 25.11 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.005503, allocations: 27.38 kB / 0.8835 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.00562, allocations: 0.4962 MB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.00564, allocations: 11.98 kB / 0.884 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.005658, allocations: 15.88 kB / 0.884 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.0057, allocations: 27.67 kB / 0.884 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005702, allocations: 0 / 0.884 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.553e-05/0.005787, allocations: 77.58 kB / 0.8841 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005798, allocations: 4 kB / 0.8841 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.005802, allocations: 0 / 0.8841 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/0.005809, allocations: 0 / 0.8841 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.00586, allocations: 11.98 kB / 0.8841 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.005863, allocations: 3.938 kB / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.005897, allocations: 15.89 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.005902, allocations: 0 / 0.8841 GB, free: 0.9883 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 6.611e-05/0.005968, allocations: 160.6 kB / 0.8843 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.005997, allocations: 15.89 kB / 0.8843 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.006022, allocations: 16.77 kB / 0.8843 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006025, allocations: 4 kB / 0.8843 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.006027, allocations: 3.938 kB / 0.8843 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.00603, allocations: 0 / 0.8843 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.006142, allocations: 125.2 kB / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006143, allocations: 0 / 0.8844 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.006174, allocations: 12 kB / 0.8845 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006176, allocations: 0 / 0.8845 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006183, allocations: 3.984 kB / 0.8845 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006183, allocations: 0 / 0.8845 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006184, allocations: 0 / 0.8845 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.006305, allocations: 215.8 kB / 0.8847 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.006316, allocations: 15.89 kB / 0.8847 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.006334, allocations: 7.938 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.006376, allocations: 0 / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.006416, allocations: 19.97 kB / 0.8847 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.00642, allocations: 3.984 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.006468, allocations: 153 kB / 0.8849 GB, free: 188 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006468, allocations: 0 / 0.8849 GB, free: 188 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00015/0.006618, allocations: 19.94 kB / 0.8849 GB, free: 168 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 8.14e-05/0.006699, allocations: 99.25 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.374e-05/0.006783, allocations: 43.81 kB / 0.885 GB, free: 12 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006784, allocations: 4 kB / 0.885 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.009e-05/0.006824, allocations: 28 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.007009, allocations: 14.19 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.007472, allocations: 226.4 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.007511, allocations: 67.33 kB / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.769e-05/0.007548, allocations: 7.984 kB / 0.8853 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.007612, allocations: 86.19 kB / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.007613, allocations: 0 / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.002836/0.01045, allocations: 1.192 MB / 0.8866 GB, free: 14.36 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.15019726799801]