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.0008258/0.0008258, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006465/0.006465, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.725/1.725, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.896/2.896, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004538, allocations: 11.06 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4478, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001106/0.449, allocations: 393.6 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.4507, allocations: 1.205 MB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.4508, allocations: 4 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.4508, allocations: 7.938 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.4509, allocations: 7.922 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.4515, allocations: 202 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.4517, allocations: 151.7 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4519, allocations: 16 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.452, allocations: 55.88 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4521, allocations: 47.88 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.4522, allocations: 8 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.576e-05/0.4523, allocations: 23.97 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.4523, allocations: 4 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.4524, allocations: 77.53 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.4527, allocations: 143.6 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4527, allocations: 4 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.286e-06/0.4527, allocations: 3.938 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.4527, allocations: 0 / 1.061 GB, free: 3.141 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007401/0.4535, allocations: 412.2 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4535, allocations: 12.03 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.4536, allocations: 8.938 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4538, allocations: 164.3 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.4538, allocations: 8.375 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.4539, allocations: 12.38 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.454, allocations: 46.23 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.454, allocations: 4.172 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.454, allocations: 7.938 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4541, allocations: 4 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.4541, allocations: 15.94 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.4547, allocations: 348.8 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.4548, allocations: 38.5 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.4548, allocations: 12.86 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.4548, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.455, allocations: 99.28 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.455, allocations: 0 / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002645/0.4553, allocations: 109.6 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4553, allocations: 51.41 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4554, allocations: 121.7 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.4555, allocations: 29.7 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.4555, allocations: 100.1 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.4556, allocations: 15.8 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.4556, allocations: 25.7 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4558, allocations: 318.8 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.4559, allocations: 55.97 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.456, allocations: 96.25 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.4562, allocations: 159.6 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4562, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004038/0.4567, allocations: 260.8 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.4567, allocations: 65.44 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4567, allocations: 4.109 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4568, allocations: 12.41 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.526e-05/0.4568, allocations: 7.938 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4568, allocations: 4 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.4572, allocations: 67.94 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.4573, allocations: 15.98 kB / 1.064 GB, free: 184 kB / 0.8106 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.0001231/0.4574, allocations: 133.7 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.4574, allocations: 7.906 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.4574, allocations: 8.359 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4574, allocations: 0 / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4575, allocations: 4 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4575, allocations: 0 / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.4576, allocations: 177.6 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4576, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.4577, allocations: 7.984 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4577, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4577, allocations: 3.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4577, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4577, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.4578, allocations: 120.9 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.4579, allocations: 81.11 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.4579, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.4579, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.458, allocations: 7.984 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.458, allocations: 8 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.4581, allocations: 87.27 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4581, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002422/0.4583, allocations: 28 kB / 1.064 GB, free: 15.42 MB / 0.8262 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.0001753/0.4585, allocations: 107.2 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.4588, allocations: 250.6 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4588, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.4589, allocations: 27.98 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4591, allocations: 12.23 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.4595, allocations: 175.2 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.4598, allocations: 0.6887 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.4598, allocations: 4 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.4598, allocations: 11.72 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4598, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.00443/0.4643, allocations: 1.751 MB / 1.067 GB, free: 12.33 MB / 0.8262 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