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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=5000,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=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 60.73 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3422, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002407/0.3446, allocations: 0.9111 MB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3457, allocations: 0.8935 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.3458, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.643e-05/0.3459, allocations: 15.81 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.655e-05/0.346, allocations: 15.8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3462, allocations: 47.88 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3463, allocations: 123.7 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3465, allocations: 57.28 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3466, allocations: 55.72 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.3467, allocations: 51.77 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.3468, allocations: 16 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.355e-05/0.3468, allocations: 12 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.3468, allocations: 31.91 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.3469, allocations: 59.66 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3471, allocations: 139.8 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3471, allocations: 7.938 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3471, allocations: 0 / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3471, allocations: 4 kB / 1.071 GB, free: 7.996 MB / 0.8262 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.0005888/0.3477, allocations: 431 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3478, allocations: 8.031 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.3478, allocations: 16.75 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3481, allocations: 217.4 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3481, allocations: 12.36 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3482, allocations: 20.12 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3484, allocations: 97.62 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.3484, allocations: 4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3484, allocations: 4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3484, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.3486, allocations: 71.95 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.3492, allocations: 400.4 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.3494, allocations: 86.59 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.3495, allocations: 44.84 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3496, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3496, allocations: 34.5 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3496, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003479/0.3499, allocations: 129.5 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.35, allocations: 55.41 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3501, allocations: 160.2 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3501, allocations: 29.7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.3502, allocations: 108.3 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3502, allocations: 23.64 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.3503, allocations: 29.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.3504, allocations: 314.8 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.3505, allocations: 35.97 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.3506, allocations: 58.5 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3508, allocations: 56.77 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3508, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002268/0.351, allocations: 109.5 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.351, allocations: 11.94 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.351, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3511, allocations: 4.031 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.3511, allocations: 15.92 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3512, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.3513, allocations: 11.98 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3513, allocations: 4 kB / 1.073 GB, free: 5.215 MB / 0.8262 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 9.702e-05/0.3514, allocations: 118.9 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3514, allocations: 15.75 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.3515, allocations: 24.7 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3515, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3515, allocations: 3.984 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3515, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3517, allocations: 213.5 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3517, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.3518, allocations: 19.92 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3518, allocations: 3.938 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3518, allocations: 288 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3518, allocations: 4 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3518, allocations: 0 / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.3521, allocations: 199.7 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3521, allocations: 92.84 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3522, allocations: 8 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3523, allocations: 7.984 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.3524, allocations: 11.98 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3524, allocations: 11.98 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.589e-05/0.3525, allocations: 113 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3525, allocations: 0 / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002445/0.3527, allocations: 16 kB / 1.074 GB, free: 4.27 MB / 0.8262 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.0001137/0.3528, allocations: 111.7 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3531, allocations: 71.95 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3531, allocations: 0 / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.3532, allocations: 43.92 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3535, allocations: 10.06 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.354, allocations: 227.7 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3542, allocations: 0.7002 MB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.026e-05/0.3543, allocations: 12.66 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.3543, allocations: 15.44 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of SimCode: time 1.724e-06/0.3543, allocations: 0 / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.003523/0.3578, allocations: 1.146 MB / 1.076 GB, free: 1.887 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches