Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0025/0.0025, allocations: 203.3 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.906/2.906, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 59.91 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7337, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002324/0.736, allocations: 0.9252 MB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.7372, allocations: 0.8873 MB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.7372, allocations: 4 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.7373, allocations: 11.81 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.7374, allocations: 19.78 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.7375, allocations: 47.95 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.7377, allocations: 123.7 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.7378, allocations: 45.39 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.738, allocations: 51.84 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.7381, allocations: 55.75 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.7381, allocations: 15.94 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.7381, allocations: 12 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.7382, allocations: 27.86 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.7382, allocations: 55.73 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.7384, allocations: 162 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7384, allocations: 4 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7384, allocations: 4 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7384, allocations: 0 / 1.276 GB, free: 2.125 MB / 0.9669 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.0007249/0.7392, allocations: 434.8 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7392, allocations: 8.031 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.7393, allocations: 16.84 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.7396, allocations: 212.9 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7396, allocations: 12.38 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.7396, allocations: 16.12 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.7399, allocations: 104.2 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.7399, allocations: 0 / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7399, allocations: 8 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7399, allocations: 3.938 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.7401, allocations: 67.95 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.7408, allocations: 408.6 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.7411, allocations: 78.61 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.7412, allocations: 36.83 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.7412, allocations: 8 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.7412, allocations: 34.5 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.7412, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003828/0.7416, allocations: 117.6 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.7417, allocations: 55.34 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.7418, allocations: 166.3 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.7418, allocations: 33.7 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/0.7419, allocations: 116.2 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.742, allocations: 16.05 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.742, allocations: 21.8 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7422, allocations: 322.8 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.717e-05/0.7423, allocations: 31.98 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.7424, allocations: 54.55 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.7426, allocations: 72.8 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7426, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002488/0.7428, allocations: 105.6 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7428, allocations: 7.938 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7428, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7429, allocations: 4 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.7429, allocations: 19.95 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.743, allocations: 320 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.743, allocations: 15.94 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.7431, allocations: 7.984 kB / 1.279 GB, free: 15.33 MB / 0.9825 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 0.0001043/0.7432, allocations: 121.8 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.7432, allocations: 15.84 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.7432, allocations: 8.719 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7432, allocations: 8 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7432, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.7432, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.7435, allocations: 213.6 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.7435, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.402e-05/0.7436, allocations: 15.92 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7436, allocations: 3.938 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.7436, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.7436, allocations: 7.922 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7436, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.7439, allocations: 195.5 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.744, allocations: 96.94 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.744, allocations: 7.984 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.7441, allocations: 8 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.7442, allocations: 15.97 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.7442, allocations: 4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001004/0.7443, allocations: 120.4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7443, allocations: 3.938 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002411/0.7445, allocations: 19.94 kB / 1.28 GB, free: 14.39 MB / 0.9825 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.0001129/0.7446, allocations: 99.78 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.7449, allocations: 79.88 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7449, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.745, allocations: 43.91 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.7453, allocations: 5.562 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.7458, allocations: 231.5 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.7462, allocations: 0.7002 MB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.7462, allocations: 12.67 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.7463, allocations: 15.42 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.7463, allocations: 0 / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of Templates: time 0.004024/0.7503, allocations: 1.167 MB / 1.282 GB, free: 11.99 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.71887611784041]