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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.793/2.793, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 66.58 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3647, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001885/0.3666, allocations: 0.6424 MB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3683, allocations: 1.207 MB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.3684, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.3684, allocations: 3.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.3685, allocations: 15.86 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.3691, allocations: 214.8 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.3694, allocations: 163.8 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.3695, allocations: 11.98 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3696, allocations: 67.89 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3697, allocations: 59.83 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.3697, allocations: 16 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.492e-05/0.3698, allocations: 24 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.3698, allocations: 15.86 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.3699, allocations: 59.83 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3701, allocations: 151.5 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3701, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3701, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3701, allocations: 0 / 1.286 GB, free: 9.34 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.0005467/0.3707, allocations: 365.5 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3707, allocations: 8.031 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.3708, allocations: 8.938 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3709, allocations: 110.5 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3709, allocations: 8.375 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.3709, allocations: 8.375 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3711, allocations: 54.17 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3711, allocations: 192 / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3711, allocations: 11.94 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3711, allocations: 0 / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.3711, allocations: 15.98 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.3716, allocations: 272.5 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.3717, allocations: 34.58 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.3717, allocations: 24.81 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.3717, allocations: 0 / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.3719, allocations: 79.33 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3719, allocations: 4 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002485/0.3722, allocations: 101.7 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3722, allocations: 55.34 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3723, allocations: 125.8 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.3724, allocations: 29.7 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.3725, allocations: 92.12 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3725, allocations: 15.91 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.3726, allocations: 46.06 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3727, allocations: 322.8 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3729, allocations: 115.4 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.3731, allocations: 165 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3733, allocations: 155.6 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3733, allocations: 3.984 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000493/0.3738, allocations: 336.2 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.3739, allocations: 67.39 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3739, allocations: 4.125 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3739, allocations: 4 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.6e-05/0.3739, allocations: 7.938 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3739, allocations: 0 / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.3743, allocations: 47.94 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.3743, allocations: 11.98 kB / 1.289 GB, free: 6.395 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.0001237/0.3744, allocations: 136.4 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.3745, allocations: 11.94 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3745, allocations: 8.375 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3745, allocations: 0 / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3745, allocations: 0 / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3745, allocations: 0 / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.3746, allocations: 125.2 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3746, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-06/0.3747, allocations: 3.938 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3747, allocations: 0 / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3747, allocations: 7.984 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3747, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3747, allocations: 4 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3748, allocations: 113 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.3749, allocations: 7.953 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3749, allocations: 4.094 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.3749, allocations: 3.938 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3749, allocations: 7.984 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3749, allocations: 0 / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.375, allocations: 95.2 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.375, allocations: 4 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002315/0.3752, allocations: 28 kB / 1.29 GB, free: 5.789 MB / 0.9825 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.0001673/0.3754, allocations: 103.2 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.3758, allocations: 278.1 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3758, allocations: 0 / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.3759, allocations: 23.98 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.3761, allocations: 23.86 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.3765, allocations: 189 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.3765, allocations: 71.59 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.3766, allocations: 19.42 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3766, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.003284/0.3799, allocations: 1.401 MB / 1.292 GB, free: 3.609 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.260169691871852]