Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_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_latest_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.008719/0.00872, allocations: 103.1 kB / 15.73 MB, free: 6.059 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.001567/0.001567, allocations: 186.2 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.188, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0027/1.191, allocations: 0.6464 MB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001986/1.193, allocations: 1.186 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/1.193, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.031e-05/1.193, allocations: 7.922 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/1.193, allocations: 11.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/1.194, allocations: 222 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/1.194, allocations: 183.7 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/1.194, allocations: 11.97 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/1.195, allocations: 63.95 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/1.195, allocations: 63.78 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/1.195, allocations: 19.94 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/1.195, allocations: 35.92 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/1.195, allocations: 11.98 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/1.195, allocations: 55.83 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/1.195, allocations: 147.7 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.195, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/1.195, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.195, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 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.0007553/1.196, allocations: 428.5 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.196, allocations: 15.97 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/1.196, allocations: 16.83 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/1.196, allocations: 172.3 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.197, allocations: 4.375 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/1.197, allocations: 16.38 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/1.197, allocations: 50.17 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.197, allocations: 4.172 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/1.197, allocations: 3.938 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.197, allocations: 0 / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/1.197, allocations: 12 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/1.197, allocations: 356.7 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.198, allocations: 38.44 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/1.198, allocations: 16.86 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/1.198, allocations: 0 / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/1.198, allocations: 79.45 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.198, allocations: 0 / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002926/1.198, allocations: 109.7 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/1.198, allocations: 55.41 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/1.198, allocations: 113.8 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/1.198, allocations: 34.08 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.198, allocations: 100 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/1.198, allocations: 3.906 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.199, allocations: 49.69 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.199, allocations: 326.7 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/1.199, allocations: 63.97 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/1.199, allocations: 88.27 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/1.199, allocations: 155.6 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.199, allocations: 4 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003931/1.2, allocations: 260.8 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/1.2, allocations: 71.39 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.2, allocations: 3.938 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.2, allocations: 4 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.611e-05/1.2, allocations: 4.062 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.2, allocations: 8.062 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/1.2, allocations: 59.91 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/1.2, allocations: 19.92 kB / 1.213 GB, free: 7.949 MB / 0.9356 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.0001014/1.2, allocations: 124 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/1.2, allocations: 4 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/1.2, allocations: 12.36 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.2, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.2, allocations: 4 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.2, allocations: 3.938 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/1.2, allocations: 181.5 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.2, allocations: 0 / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/1.201, allocations: 7.984 kB / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.201, allocations: 0 / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/1.201, allocations: 0 / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.201, allocations: 0 / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.201, allocations: 96 / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/1.201, allocations: 117 kB / 1.213 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/1.201, allocations: 85.02 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/1.201, allocations: 0 / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/1.201, allocations: 4 kB / 1.213 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/1.201, allocations: 7.984 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/1.201, allocations: 4 kB / 1.213 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.986e-05/1.201, allocations: 91.2 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.201, allocations: 4 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002263/1.201, allocations: 28 kB / 1.214 GB, free: 7.188 MB / 0.9356 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.0001882/1.201, allocations: 111.2 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003504/1.202, allocations: 250.6 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.202, allocations: 0 / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/1.202, allocations: 23.98 kB / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.202, allocations: 17.39 kB / 1.214 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/1.202, allocations: 166.8 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.203, allocations: 0.6885 MB / 1.215 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.834e-05/1.203, allocations: 4 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/1.203, allocations: 11.44 kB / 1.215 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.203, allocations: 0 / 1.215 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.005127/1.208, allocations: 1.901 MB / 1.217 GB, free: 3.965 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches