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.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.001337/0.001337, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001402/0.001402, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.397/1.397, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.158/3.158, allocations: 496 MB / 0.7835 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002218/0.002218, allocations: 67.55 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3382, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002273/0.3404, allocations: 0.9396 MB / 1.308 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3416, allocations: 0.8975 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.3417, allocations: 4 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.3418, allocations: 11.72 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.965e-05/0.3419, allocations: 19.8 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3421, allocations: 47.94 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3422, allocations: 119.6 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3424, allocations: 37.7 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3425, allocations: 55.84 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3426, allocations: 55.7 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.3426, allocations: 16 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/0.3427, allocations: 12 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.3427, allocations: 35.89 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.3428, allocations: 59.67 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.343, allocations: 155.3 kB / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.343, allocations: 0 / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.562e-06/0.343, allocations: 0 / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.343, allocations: 0 / 1.31 GB, free: 15.35 MB / 1.014 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.0006459/0.3436, allocations: 357.7 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3437, allocations: 8.922 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.3437, allocations: 16.84 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.344, allocations: 167 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.344, allocations: 8.375 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3441, allocations: 8.125 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.3443, allocations: 101.6 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3443, allocations: 3.984 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3443, allocations: 4 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3444, allocations: 4 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3446, allocations: 67.95 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.3452, allocations: 371.7 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.3455, allocations: 82.59 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3456, allocations: 40.84 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3456, allocations: 0 / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3457, allocations: 34.5 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3457, allocations: 0 / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004042/0.3461, allocations: 129.6 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3461, allocations: 59.41 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3463, allocations: 156 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3463, allocations: 33.7 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.3464, allocations: 108.3 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3464, allocations: 23.83 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.3464, allocations: 21.72 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3466, allocations: 318.8 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3467, allocations: 35.98 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3468, allocations: 54.55 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.347, allocations: 64.7 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.347, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002486/0.3472, allocations: 105.6 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3472, allocations: 11.94 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3472, allocations: 8.031 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3473, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.3474, allocations: 15.92 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3474, allocations: 0 / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3475, allocations: 19.92 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3475, allocations: 0 / 1.312 GB, free: 12.77 MB / 1.014 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.000106/0.3476, allocations: 126.1 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3476, allocations: 15.84 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.3477, allocations: 16.72 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3477, allocations: 3.938 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3477, allocations: 0 / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3477, allocations: 3.984 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3479, allocations: 184.7 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3479, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.348, allocations: 11.98 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.348, allocations: 7.875 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.348, allocations: 4 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.348, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.348, allocations: 4 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3483, allocations: 187.5 kB / 1.313 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.3483, allocations: 19.84 kB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3483, allocations: 3.984 kB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3485, allocations: 7.984 kB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.3485, allocations: 23.97 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3486, allocations: 3.984 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.403e-05/0.3486, allocations: 118.8 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3486, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000249/0.3489, allocations: 20 kB / 1.313 GB, free: 11.96 MB / 1.014 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.0001209/0.349, allocations: 99.98 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3493, allocations: 68.34 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3493, allocations: 4 kB / 1.313 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3494, allocations: 35.92 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3497, allocations: 13.03 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.3502, allocations: 235.9 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3505, allocations: 0.708 MB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.3506, allocations: 8.656 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.3506, allocations: 11.44 kB / 1.314 GB, free: 10.72 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3506, allocations: 0 / 1.314 GB, free: 10.72 MB / 1.014 GB Notification: Performance of Templates: time 0.004068/0.3547, allocations: 1.192 MB / 1.315 GB, free: 9.539 MB / 1.014 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 -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/jenkins/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.573792013339698]