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.00138/0.00138, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001454/0.001454, allocations: 156.1 kB / 23.01 MB, free: 4.949 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.567/1.567, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.723/2.723, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 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.002154/0.002154, allocations: 71.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 169.9 MB / 1.117 GB, free: 2.547 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002521/0.3569, allocations: 0.6568 MB / 1.118 GB, free: 1.895 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3588, allocations: 1.202 MB / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.3588, allocations: 0 / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.3588, allocations: 7.922 kB / 1.119 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/0.3589, allocations: 11.94 kB / 1.119 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.3596, allocations: 218.3 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.3599, allocations: 175.7 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.36, allocations: 11.94 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3601, allocations: 67.89 kB / 1.12 GB, free: 208 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.3603, allocations: 51.84 kB / 1.12 GB, free: 156 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.3603, allocations: 12 kB / 1.12 GB, free: 144 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.3604, allocations: 31.98 kB / 1.12 GB, free: 112 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.3604, allocations: 11.92 kB / 1.12 GB, free: 100 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.3605, allocations: 55.89 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.3608, allocations: 147.6 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3608, allocations: 7.922 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3608, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3608, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 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.0005671/0.3614, allocations: 357.6 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3614, allocations: 11.97 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.3615, allocations: 8.938 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3616, allocations: 118.4 kB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3616, allocations: 4.375 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3616, allocations: 20.36 kB / 1.121 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3617, allocations: 46.25 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3618, allocations: 192 / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3618, allocations: 7.922 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3618, allocations: 0 / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.3618, allocations: 12 kB / 1.121 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.3623, allocations: 272.4 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.676e-05/0.3624, allocations: 34.56 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.3624, allocations: 16.8 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.3624, allocations: 0 / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.3626, allocations: 91.39 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3626, allocations: 7.938 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002524/0.3629, allocations: 101.6 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3629, allocations: 55.41 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.363, allocations: 113.8 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.363, allocations: 33.7 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.3631, allocations: 92.12 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3631, allocations: 11.91 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.3632, allocations: 49.69 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3634, allocations: 314.8 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.3635, allocations: 127.4 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3637, allocations: 151.6 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.364, allocations: 175.9 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.364, allocations: 0 / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004994/0.3645, allocations: 320.2 kB / 1.122 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.3645, allocations: 71.39 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3645, allocations: 8.062 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3646, allocations: 3.984 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.392e-05/0.3646, allocations: 4 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3646, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.3649, allocations: 63.89 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.365, allocations: 15.98 kB / 1.123 GB, free: 12.93 MB / 1.076 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.0001249/0.3651, allocations: 129.7 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.3651, allocations: 4 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.3651, allocations: 8.438 kB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3651, allocations: 0 / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3651, allocations: 0 / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3651, allocations: 0 / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3653, allocations: 125.2 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3653, allocations: 0 / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.3653, allocations: 0 / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3653, allocations: 0 / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3653, allocations: 4 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3653, allocations: 4 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3653, allocations: 0 / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.3655, allocations: 120.9 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.3655, allocations: 7.953 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3655, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.3655, allocations: 3.984 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3656, allocations: 8 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3656, allocations: 7.984 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.639e-05/0.3656, allocations: 91.22 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3656, allocations: 0 / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002346/0.3659, allocations: 24 kB / 1.123 GB, free: 12.34 MB / 1.076 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.0001533/0.366, allocations: 111.2 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.3664, allocations: 278.1 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3664, allocations: 0 / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.3665, allocations: 19.94 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3667, allocations: 23.86 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.3671, allocations: 159 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.3671, allocations: 79.27 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.3672, allocations: 4 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.3672, allocations: 12.5 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3672, allocations: 0 / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of Templates: time 0.005167/0.3723, allocations: 2.052 MB / 1.126 GB, free: 9.574 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.895756991929375]