Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001796/0.001796, allocations: 114.5 kB / 16.81 MB, free: 5.766 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.0018/0.0018, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.521/1.521, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 73.27 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3512, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001878/0.3531, allocations: 0.649 MB / 1.263 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3547, allocations: 1.19 MB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.3548, allocations: 4 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.3548, allocations: 0 / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.3549, allocations: 15.86 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.3555, allocations: 217 kB / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.3557, allocations: 167.8 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.3558, allocations: 12 kB / 1.264 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3559, allocations: 75.81 kB / 1.264 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3561, allocations: 67.77 kB / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.3561, allocations: 16 kB / 1.264 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.3562, allocations: 27.98 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.3562, allocations: 4 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.3563, allocations: 59.81 kB / 1.265 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3565, allocations: 143.6 kB / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3565, allocations: 0 / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3565, allocations: 0 / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3565, allocations: 0 / 1.265 GB, free: 10.28 MB / 0.9825 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.0006948/0.3572, allocations: 442.7 kB / 1.265 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3573, allocations: 8.031 kB / 1.265 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.3573, allocations: 16.83 kB / 1.265 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3575, allocations: 176.3 kB / 1.265 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3575, allocations: 4.375 kB / 1.265 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.3575, allocations: 12.36 kB / 1.265 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3576, allocations: 54.19 kB / 1.265 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3577, allocations: 3.938 kB / 1.265 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3577, allocations: 4 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3577, allocations: 4 kB / 1.265 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.3577, allocations: 15.98 kB / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.3583, allocations: 352.7 kB / 1.266 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.3583, allocations: 34.52 kB / 1.266 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.3584, allocations: 16.94 kB / 1.266 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.3584, allocations: 0 / 1.266 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.3586, allocations: 79.38 kB / 1.266 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3586, allocations: 0 / 1.266 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002508/0.3588, allocations: 109.5 kB / 1.266 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3589, allocations: 55.41 kB / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.359, allocations: 117.8 kB / 1.266 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.359, allocations: 29.7 kB / 1.266 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.3591, allocations: 96.08 kB / 1.266 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3591, allocations: 23.84 kB / 1.266 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3592, allocations: 49.69 kB / 1.266 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3594, allocations: 318.8 kB / 1.267 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3595, allocations: 59.97 kB / 1.267 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3597, allocations: 95 kB / 1.267 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3599, allocations: 168 kB / 1.267 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3599, allocations: 0 / 1.267 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000453/0.3603, allocations: 260.9 kB / 1.267 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.3604, allocations: 67.39 kB / 1.267 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3604, allocations: 0 / 1.267 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3604, allocations: 8.125 kB / 1.267 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-05/0.3604, allocations: 3.984 kB / 1.267 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3605, allocations: 4 kB / 1.267 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.3608, allocations: 51.89 kB / 1.267 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.3608, allocations: 12 kB / 1.267 GB, free: 7.285 MB / 0.9825 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.0001217/0.361, allocations: 137.5 kB / 1.267 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.361, allocations: 7.953 kB / 1.267 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.361, allocations: 4.375 kB / 1.267 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.361, allocations: 0 / 1.267 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.361, allocations: 7.938 kB / 1.267 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3611, allocations: 77.11 kB / 1.267 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3612, allocations: 7.984 kB / 1.268 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.436e-05/0.3612, allocations: 7.938 kB / 1.268 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3612, allocations: 4 kB / 1.268 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001758/0.3614, allocations: 164.9 kB / 1.268 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002263/0.3616, allocations: 259.1 kB / 1.268 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.544e-05/0.3617, allocations: 21.12 kB / 1.268 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.3617, allocations: 91.27 kB / 1.268 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of Backend: time 2.3e-07/0.3617, allocations: 0 / 1.268 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006656/0.3624, allocations: 289.6 kB / 1.268 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006563/0.363, allocations: 0.6122 MB / 1.269 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of Templates: time 0.005345/0.3684, allocations: 1.899 MB / 1.271 GB, free: 3.613 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches