Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001628/0.001628, allocations: 197.1 kB / 16.26 MB, free: 6.625 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.906/2.906, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.88 kB / 0.8986 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3149, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00344/0.3184, allocations: 1.545 MB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.3191, allocations: 450.7 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.3192, allocations: 0 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.3193, allocations: 7.922 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.3194, allocations: 7.938 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.3195, allocations: 15.98 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.3196, allocations: 47.91 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.3197, allocations: 11.98 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.3198, allocations: 19.88 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.3199, allocations: 31.91 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3199, allocations: 11.88 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.3199, allocations: 4 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.3199, allocations: 7.984 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.32, allocations: 27.86 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3201, allocations: 43.88 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3201, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3201, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3201, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005047/0.3206, allocations: 363.7 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3207, allocations: 8.031 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3207, allocations: 4.938 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3209, allocations: 172.2 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3209, allocations: 8.312 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3209, allocations: 4.375 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.321, allocations: 57.98 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.321, allocations: 0 / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3211, allocations: 8 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3211, allocations: 4 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.242e-05/0.3211, allocations: 23.97 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.3216, allocations: 304.7 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3218, allocations: 46.62 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.3218, allocations: 28.89 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3218, allocations: 0 / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.322, allocations: 87.3 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.322, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002242/0.3223, allocations: 101.8 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3223, allocations: 51.41 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.3224, allocations: 109.8 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3224, allocations: 29.7 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.3225, allocations: 95.98 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3225, allocations: 19.66 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3225, allocations: 29.7 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3227, allocations: 318.8 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.3227, allocations: 15.98 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.3228, allocations: 51.36 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.3228, allocations: 67.44 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3229, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001421/0.323, allocations: 97.55 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.323, allocations: 4 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.323, allocations: 4 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3231, allocations: 0 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.3231, allocations: 11.98 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3231, allocations: 4.031 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.3232, allocations: 11.91 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3232, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.527e-05/0.3233, allocations: 135.2 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3233, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.3234, allocations: 7.969 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3234, allocations: 4.281 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3234, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3234, allocations: 3.984 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.3238, allocations: 362.3 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3238, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.3238, allocations: 7.984 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3238, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3239, allocations: 4 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.3239, allocations: 3.938 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3239, allocations: 3.938 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.324, allocations: 187.6 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3241, allocations: 84.95 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3241, allocations: 7.938 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.3242, allocations: 11.92 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.3243, allocations: 8.062 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3243, allocations: 4 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.3243, allocations: 87.27 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3243, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002327/0.3245, allocations: 16 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001/0.3247, allocations: 101.4 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.3248, allocations: 59.91 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3248, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.3249, allocations: 23.94 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.3251, allocations: 11.98 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.3255, allocations: 157.7 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.3257, allocations: 0.6846 MB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.3257, allocations: 7.984 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.3258, allocations: 11.44 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of SimCode: time 1.553e-06/0.3258, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of Templates: time 0.002774/0.3286, allocations: 0.7255 MB / 1.059 GB, free: 1.355 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches