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.00894/0.00894, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.002276/0.002276, allocations: 192 kB / 16.67 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.419/2.419, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.66 kB / 0.9509 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3545, allocations: 140.4 MB / 1.088 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002534/0.3571, allocations: 0.6516 MB / 1.089 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3591, allocations: 1.192 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.3592, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.3593, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3594, allocations: 11.92 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.3601, allocations: 213 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.3604, allocations: 183.7 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3605, allocations: 19.98 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3607, allocations: 71.81 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3609, allocations: 55.86 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.3609, allocations: 16 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.361, allocations: 27.98 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.361, allocations: 15.97 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.3611, allocations: 51.84 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.3614, allocations: 155.5 kB / 1.091 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3614, allocations: 0 / 1.091 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3614, allocations: 4 kB / 1.091 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3614, allocations: 0 / 1.091 GB, free: 14.95 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.0007242/0.3622, allocations: 430.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.3622, allocations: 8.031 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/0.3623, allocations: 12.89 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3625, allocations: 180.2 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3626, allocations: 8.359 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.3626, allocations: 12.38 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3627, allocations: 46.23 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3628, allocations: 4.188 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3628, allocations: 7.938 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3628, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.3629, allocations: 12 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.3634, allocations: 348.8 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.3635, allocations: 38.5 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.3635, allocations: 12.86 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.3636, allocations: 4 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.3637, allocations: 95.39 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3637, allocations: 3.938 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002558/0.364, allocations: 97.61 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3641, allocations: 55.41 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3642, allocations: 117.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3642, allocations: 33.7 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.3643, allocations: 96.12 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3643, allocations: 19.83 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.3644, allocations: 45.69 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3645, allocations: 330.8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3647, allocations: 55.97 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.3648, allocations: 96.14 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.365, allocations: 163.6 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.365, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004011/0.3655, allocations: 260.8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.3655, allocations: 71.52 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3655, allocations: 480 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3656, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.312e-05/0.3656, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3656, allocations: 4 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.3659, allocations: 51.94 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.366, allocations: 15.92 kB / 1.093 GB, free: 11.96 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.0001102/0.3661, allocations: 129.7 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.3661, allocations: 7.953 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.3662, allocations: 12.36 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3662, allocations: 4 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3662, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3662, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3663, allocations: 173.6 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3663, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.3664, allocations: 3.984 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3664, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3664, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3664, allocations: 4 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3664, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3666, allocations: 112.9 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.3666, allocations: 89 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.3666, allocations: 4 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.3667, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.3667, allocations: 11.98 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3667, allocations: 4 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.471e-05/0.3668, allocations: 91.27 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3668, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002281/0.367, allocations: 32 kB / 1.094 GB, free: 11.19 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.0001634/0.3672, allocations: 99.78 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.3676, allocations: 250.9 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3676, allocations: 8 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.3676, allocations: 27.92 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3679, allocations: 21.77 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.3682, allocations: 155.3 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3685, allocations: 0.6898 MB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.3686, allocations: 8 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.3686, allocations: 11.44 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3686, allocations: 0 / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of Templates: time 0.004566/0.3732, allocations: 1.847 MB / 1.097 GB, free: 8.02 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