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.001826/0.001826, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002329/0.002329, allocations: 207.9 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 69.23 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002217/0.3273, allocations: 0.8934 MB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3285, allocations: 0.925 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.3286, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.3286, allocations: 7.875 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.744e-05/0.3287, allocations: 19.78 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.329, allocations: 55.83 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3291, allocations: 123.7 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3293, allocations: 37.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.3294, allocations: 59.78 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.3295, allocations: 55.7 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.3296, allocations: 16 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.966e-05/0.3296, allocations: 19.92 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.3296, allocations: 27.92 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.3297, allocations: 43.78 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3299, allocations: 163.2 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3299, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3299, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3299, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 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.0006029/0.3305, allocations: 365.7 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3306, allocations: 12.03 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.3308, allocations: 24.88 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3311, allocations: 159 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3311, allocations: 8.375 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3311, allocations: 20.06 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3314, allocations: 103.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3314, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3314, allocations: 4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3314, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.3316, allocations: 71.95 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.3322, allocations: 316.2 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3324, allocations: 78.61 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3326, allocations: 40.84 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3326, allocations: 3.984 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3326, allocations: 30.56 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3326, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003719/0.333, allocations: 137.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.333, allocations: 51.41 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3331, allocations: 145 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.3332, allocations: 25.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3333, allocations: 116 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3333, allocations: 23.78 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.3333, allocations: 25.72 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3335, allocations: 322.8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.3336, allocations: 31.97 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3337, allocations: 106 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3339, allocations: 64.89 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3339, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000246/0.3342, allocations: 109.5 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3342, allocations: 5.719 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3342, allocations: 7.938 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3342, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.3343, allocations: 16.02 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3343, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.3344, allocations: 15.98 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3344, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 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.0001173/0.3345, allocations: 127.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3345, allocations: 15.84 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.3346, allocations: 12.72 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3346, allocations: 7.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3346, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3346, allocations: 7.984 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.3348, allocations: 137.3 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3348, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.3349, allocations: 15.92 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3349, allocations: 3.938 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3349, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3349, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3349, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.3352, allocations: 195.4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.3352, allocations: 11.95 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.3352, allocations: 11.94 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3353, allocations: 7.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3354, allocations: 11.97 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3354, allocations: 8 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.924e-05/0.3355, allocations: 109.1 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3355, allocations: 96 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002493/0.3357, allocations: 27.83 kB / 1.332 GB, free: 11.23 MB / 1.029 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.0001219/0.3359, allocations: 107.2 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.3361, allocations: 68.34 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3361, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3362, allocations: 35.92 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3365, allocations: 12.09 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.337, allocations: 220.1 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3372, allocations: 93.05 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.676e-05/0.3372, allocations: 11.98 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.3373, allocations: 11.44 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3373, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of Templates: time 0.004069/0.3413, allocations: 1.212 MB / 1.334 GB, free: 9.426 MB / 1.029 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.766883951990167]