Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006084/0.006084, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001207/0.001207, allocations: 194.6 kB / 16.68 MB, free: 5.98 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.609/2.609, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.59 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002213/0.3705, allocations: 0.6604 MB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3723, allocations: 1.192 MB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.3724, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.3724, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.707e-05/0.3726, allocations: 15.91 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.3735, allocations: 221.2 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.3738, allocations: 183.7 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3739, allocations: 15.97 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3741, allocations: 67.89 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.3742, allocations: 59.84 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.3743, allocations: 20 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3744, allocations: 27.98 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.3744, allocations: 11.98 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3745, allocations: 51.83 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.3748, allocations: 159.5 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3749, allocations: 0 / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.328e-06/0.3749, allocations: 0 / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3749, allocations: 3.938 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000792/0.3757, allocations: 430.8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3757, allocations: 8.031 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.458e-05/0.3758, allocations: 16.84 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.376, allocations: 168.4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.376, allocations: 4.375 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.376, allocations: 12.36 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3762, allocations: 50.23 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3762, allocations: 192 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3762, allocations: 7.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3762, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.3763, allocations: 15.94 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.3768, allocations: 356.7 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.3769, allocations: 38.5 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.377, allocations: 12.86 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.377, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3771, allocations: 87.33 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3772, allocations: 8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002703/0.3774, allocations: 101.6 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3775, allocations: 51.41 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3776, allocations: 117.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.3776, allocations: 29.7 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.3777, allocations: 96.03 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3777, allocations: 11.91 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/0.3778, allocations: 49.62 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.378, allocations: 334.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3781, allocations: 55.97 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3783, allocations: 88.27 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3785, allocations: 163.5 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3785, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004302/0.3789, allocations: 264.8 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.379, allocations: 69.58 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.379, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.379, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.57e-05/0.3791, allocations: 4.062 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3791, allocations: 7.938 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.3794, allocations: 59.91 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.3794, allocations: 15.98 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001149/0.3796, allocations: 125.7 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3796, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.3796, allocations: 12.36 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3796, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3796, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3797, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.3798, allocations: 173.6 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3798, allocations: 4 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.3798, allocations: 3.984 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3798, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3799, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3799, allocations: 4 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3799, allocations: 3.938 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.38, allocations: 113 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.3801, allocations: 85.02 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3801, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.3801, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.3802, allocations: 11.98 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3802, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.3803, allocations: 91.27 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3803, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000245/0.3805, allocations: 36 kB / 1.094 GB, free: 11.06 MB / 0.8575 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002022/0.3807, allocations: 103.8 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.3811, allocations: 247 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3812, allocations: 3.938 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.3812, allocations: 31.92 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3815, allocations: 20.66 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.382, allocations: 154.8 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.3825, allocations: 0.6885 MB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.3825, allocations: 4 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.3826, allocations: 15.44 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3826, allocations: 0 / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of Templates: time 0.005196/0.3878, allocations: 1.849 MB / 1.097 GB, free: 7.891 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches