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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_11_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.001574/0.001574, allocations: 113.8 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.499/1.499, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.27 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3124, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002195/0.3146, allocations: 0.9075 MB / 1.263 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3158, allocations: 0.8934 MB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.3158, allocations: 4 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.86e-05/0.3159, allocations: 15.8 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.316, allocations: 11.81 kB / 1.264 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.3162, allocations: 47.94 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3164, allocations: 119.7 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3165, allocations: 37.52 kB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3167, allocations: 67.77 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3168, allocations: 55.7 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3168, allocations: 12 kB / 1.264 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.3168, allocations: 12 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.3169, allocations: 27.92 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.3169, allocations: 63.64 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3172, allocations: 151.3 kB / 1.264 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3172, allocations: 0 / 1.264 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3172, allocations: 4 kB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3172, allocations: 0 / 1.264 GB, free: 10.55 MB / 0.9825 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.0006857/0.3179, allocations: 438.8 kB / 1.265 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3179, allocations: 8.031 kB / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.3179, allocations: 20.84 kB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.3182, allocations: 212.9 kB / 1.265 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3183, allocations: 8.375 kB / 1.265 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.3183, allocations: 20.06 kB / 1.265 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3185, allocations: 101.6 kB / 1.265 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3185, allocations: 0 / 1.265 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3185, allocations: 8 kB / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3185, allocations: 0 / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3187, allocations: 75.89 kB / 1.265 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.3194, allocations: 405.7 kB / 1.266 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.3196, allocations: 78.53 kB / 1.266 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3197, allocations: 36.91 kB / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3198, allocations: 0 / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3198, allocations: 46.5 kB / 1.266 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.3198, allocations: 0 / 1.266 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003771/0.3202, allocations: 117.7 kB / 1.266 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3202, allocations: 55.41 kB / 1.266 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3204, allocations: 154.2 kB / 1.266 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.3204, allocations: 33.64 kB / 1.266 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.3205, allocations: 112.3 kB / 1.266 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3205, allocations: 23.83 kB / 1.266 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.3206, allocations: 25.7 kB / 1.266 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3207, allocations: 322.8 kB / 1.267 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.3208, allocations: 31.97 kB / 1.267 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3209, allocations: 50.56 kB / 1.267 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3211, allocations: 56.86 kB / 1.267 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3211, allocations: 4 kB / 1.267 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002469/0.3213, allocations: 117.4 kB / 1.267 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3214, allocations: 9.781 kB / 1.267 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3214, allocations: 0 / 1.267 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3214, allocations: 0 / 1.267 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.3215, allocations: 23.86 kB / 1.267 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3215, allocations: 0 / 1.267 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.3216, allocations: 11.98 kB / 1.267 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3216, allocations: 4 kB / 1.267 GB, free: 7.762 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.0001126/0.3217, allocations: 122.6 kB / 1.267 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.3217, allocations: 19.84 kB / 1.267 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.3218, allocations: 16.7 kB / 1.267 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3218, allocations: 0 / 1.267 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3218, allocations: 4 kB / 1.267 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.3218, allocations: 85 kB / 1.267 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3218, allocations: 8 kB / 1.267 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.322, allocations: 11.98 kB / 1.267 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.322, allocations: 11.97 kB / 1.267 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003238/0.3224, allocations: 181.2 kB / 1.267 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003059/0.3227, allocations: 274.8 kB / 1.268 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.772e-05/0.3228, allocations: 35.97 kB / 1.268 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.782e-05/0.3229, allocations: 121.2 kB / 1.268 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of Backend: time 2.9e-07/0.3229, allocations: 0 / 1.268 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.3233, allocations: 122.3 kB / 1.268 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007147/0.324, allocations: 0.661 MB / 1.269 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of Templates: time 0.004325/0.3283, allocations: 1.358 MB / 1.27 GB, free: 4.645 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches