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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001444/0.001444, 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.001504/0.001504, 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.659/2.659, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.42 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6582, allocations: 162.2 MB / 1.083 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001818/0.66, allocations: 0.6601 MB / 1.084 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.6613, allocations: 1.179 MB / 1.085 GB, free: 404 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.6613, allocations: 0 / 1.085 GB, free: 404 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.6614, allocations: 5.75 kB / 1.085 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.6614, allocations: 22.73 kB / 1.085 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.662, allocations: 206.4 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.6622, allocations: 181.4 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.6623, allocations: 11.66 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.6624, allocations: 65.78 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.6625, allocations: 55.3 kB / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.6625, allocations: 14.03 kB / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.6626, allocations: 33.2 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.6627, allocations: 9.891 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.296e-05/0.6628, allocations: 52.45 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.663, allocations: 151.5 kB / 1.085 GB, free: 64 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.663, allocations: 4.75 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.663, allocations: 0 / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.663, allocations: 5.375 kB / 1.086 GB, free: 56 kB / 0.8262 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.0005714/0.6636, allocations: 436.3 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6636, allocations: 9.578 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.6637, allocations: 12.5 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6638, allocations: 169.1 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.6638, allocations: 9.125 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.6639, allocations: 9.484 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.664, allocations: 50.22 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.664, allocations: 1.094 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.664, allocations: 3.938 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.664, allocations: 1.094 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.6641, allocations: 22.3 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.6646, allocations: 345.9 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.6647, allocations: 38.89 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.6647, allocations: 16.3 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.6647, allocations: 1.406 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.6649, allocations: 89.47 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.6649, allocations: 0 / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0002488/0.6652, allocations: 99.69 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.6652, allocations: 53.22 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6654, allocations: 117.2 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.6654, allocations: 30.08 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.6655, allocations: 94.64 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.6655, allocations: 14.83 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.6656, allocations: 57.2 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6658, allocations: 321.8 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.6659, allocations: 55.8 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.6661, allocations: 97.52 kB / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.6663, allocations: 158.5 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6663, allocations: 5.219 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005027/0.6668, allocations: 265 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.6669, allocations: 69.95 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6669, allocations: 1.375 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6669, allocations: 5.719 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/0.6669, allocations: 3.344 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.667, allocations: 5.125 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.6673, allocations: 57.48 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.6674, allocations: 16.36 kB / 1.088 GB, free: 13.77 MB / 0.8419 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.0001112/0.6675, allocations: 128.5 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.6675, allocations: 2.688 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.6676, allocations: 10.47 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6676, allocations: 1.906 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6676, allocations: 0 / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6676, allocations: 0.6094 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.6678, allocations: 179.1 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6678, allocations: 0.7031 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.6678, allocations: 1.938 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6678, allocations: 1.312 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.6678, allocations: 0.5156 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6678, allocations: 6.531 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6678, allocations: 3.938 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.668, allocations: 110.8 kB / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.668, allocations: 88.27 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.6681, allocations: 2.531 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.6681, allocations: 0.6562 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.6681, allocations: 9.188 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.6681, allocations: 3.688 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.6682, allocations: 97.39 kB / 1.089 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6682, allocations: 0 / 1.089 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002469/0.6685, allocations: 28.27 kB / 1.089 GB, free: 13.15 MB / 0.8419 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.0001583/0.6686, allocations: 104.8 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.669, allocations: 253.2 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.669, allocations: 0 / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.6691, allocations: 23.92 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.6694, allocations: 24.66 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.6697, allocations: 196 kB / 1.089 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.6701, allocations: 0.6916 MB / 1.09 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.6701, allocations: 11.12 kB / 1.09 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.134e-06/0.6701, allocations: 0 / 1.09 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.003197/0.6733, allocations: 1.39 MB / 1.091 GB, free: 11.85 MB / 0.8419 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=400 -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/jenkins1/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