Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001468/0.001468, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.92 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3322, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002398/0.3347, allocations: 0.7402 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3365, allocations: 1.258 MB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.3366, allocations: 4 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.3367, allocations: 3.938 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.439e-05/0.3368, allocations: 19.78 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.3375, allocations: 250.4 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.3378, allocations: 259.6 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.338, allocations: 20.2 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3381, allocations: 103.8 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.3382, allocations: 83.75 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.3383, allocations: 24 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.3384, allocations: 39.98 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.3385, allocations: 31.91 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3386, allocations: 91.73 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3389, allocations: 219.7 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3389, allocations: 0 / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.396e-06/0.339, allocations: 0 / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.339, allocations: 3.938 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009111/0.3399, allocations: 0.4984 MB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3399, allocations: 20.88 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.34, allocations: 20.78 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.3407, allocations: 244.3 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.3408, allocations: 20.36 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.3408, allocations: 20.36 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.3411, allocations: 140.4 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3411, allocations: 3.938 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3411, allocations: 7.984 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3411, allocations: 4 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3413, allocations: 55.95 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.3422, allocations: 0.5123 MB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.3425, allocations: 157.2 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3426, allocations: 65.73 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3426, allocations: 3.984 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.343, allocations: 206.5 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.3431, allocations: 0 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=22): time 0.0005909/0.3437, allocations: 308.9 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.3438, allocations: 105 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3439, allocations: 129.9 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.344, allocations: 37.69 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3441, allocations: 96.7 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.3442, allocations: 47.41 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3443, allocations: 73.67 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3445, allocations: 322.8 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3447, allocations: 92.23 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3449, allocations: 148.7 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.3453, allocations: 251.3 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3453, allocations: 0 / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007161/0.3461, allocations: 364.3 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.3461, allocations: 67.39 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3461, allocations: 0 / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.3462, allocations: 4 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.3463, allocations: 23.92 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.3463, allocations: 7.938 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.3467, allocations: 67.91 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.3468, allocations: 19.98 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001614/0.3469, allocations: 144 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.347, allocations: 11.91 kB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.347, allocations: 16.5 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.347, allocations: 0 / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.347, allocations: 7.938 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3471, allocations: 7.984 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.3478, allocations: 0.6186 MB / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3479, allocations: 0 / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.3479, allocations: 4 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.3479, allocations: 11.88 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.3479, allocations: 11.98 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3479, allocations: 0 / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.348, allocations: 0 / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.3484, allocations: 414.6 kB / 1.026 GB, free: 1.734 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3485, allocations: 92.86 kB / 1.026 GB, free: 1.625 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.3486, allocations: 20 kB / 1.026 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3487, allocations: 19.92 kB / 1.026 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.3488, allocations: 19.97 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3488, allocations: 11.98 kB / 1.026 GB, free: 1.555 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.3489, allocations: 107.2 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3489, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004148/0.3493, allocations: 55.98 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002302/0.3496, allocations: 119.3 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005618/0.3501, allocations: 361.5 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3501, allocations: 448 / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.3503, allocations: 115.9 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3507, allocations: 29.8 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.3514, allocations: 306.2 kB / 1.027 GB, free: 432 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.3518, allocations: 0.7047 MB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.3518, allocations: 19.44 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3518, allocations: 0 / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of Templates: time 0.005145/0.357, allocations: 2.252 MB / 1.03 GB, free: 13.43 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time