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.001559/0.001559, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001724/0.001724, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.805 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.91/2.91, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] 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.002313/0.002313, allocations: 68.14 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4596, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00227/0.4619, allocations: 0.6509 MB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.4638, allocations: 1.192 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.4639, allocations: 4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.4639, allocations: 3.938 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.464, allocations: 11.91 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009318/0.4649, allocations: 228 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.4653, allocations: 175.7 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.4654, allocations: 4 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.4655, allocations: 71.88 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.4657, allocations: 55.84 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.4657, allocations: 16 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.4658, allocations: 23.98 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.4659, allocations: 11.94 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.4659, allocations: 55.89 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.4662, allocations: 143.6 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4662, allocations: 0 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4662, allocations: 3.938 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4662, allocations: 4 kB / 1.286 GB, free: 9.246 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.0006285/0.4668, allocations: 361.5 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4669, allocations: 8.031 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.467, allocations: 8.938 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.4671, allocations: 118.5 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.4671, allocations: 8.312 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.4672, allocations: 8.375 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4673, allocations: 54.25 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.4673, allocations: 192 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4673, allocations: 7.922 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4673, allocations: 0 / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.4674, allocations: 15.94 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.4679, allocations: 276.5 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.468, allocations: 34.56 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.4681, allocations: 16.8 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.4681, allocations: 0 / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.4683, allocations: 99.34 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.4683, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002776/0.4686, allocations: 93.67 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.4686, allocations: 59.39 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4687, allocations: 121.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.4688, allocations: 29.7 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.4689, allocations: 92.12 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4689, allocations: 19.89 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.469, allocations: 53.62 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4691, allocations: 314.8 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.4693, allocations: 123.4 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.4695, allocations: 155.7 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.4697, allocations: 163.5 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4698, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005007/0.4703, allocations: 324.2 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.4703, allocations: 67.39 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4703, allocations: 4.125 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4703, allocations: 4 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.029e-05/0.4704, allocations: 7.922 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.4704, allocations: 4 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4707, allocations: 47.94 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.4707, allocations: 16.45 kB / 1.288 GB, free: 6.293 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.0001169/0.4709, allocations: 129.7 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.4709, allocations: 7.953 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.4709, allocations: 8.312 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4709, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4709, allocations: 3.938 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4709, allocations: 4 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.471, allocations: 125.2 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4711, allocations: 0 / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.4711, allocations: 4 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4711, allocations: 0 / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4711, allocations: 4 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4711, allocations: 4 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4711, allocations: 3.938 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.4713, allocations: 109 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.4713, allocations: 11.95 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4713, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.4713, allocations: 7.984 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.4713, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.4714, allocations: 4 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.4714, allocations: 91.27 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4714, allocations: 0 / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002422/0.4717, allocations: 32 kB / 1.289 GB, free: 5.695 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.0002185/0.4719, allocations: 111.2 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.4723, allocations: 286.1 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4723, allocations: 0 / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.4723, allocations: 19.98 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4726, allocations: 22.17 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.473, allocations: 155 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.468e-05/0.4731, allocations: 75.33 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.4731, allocations: 4 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.4731, allocations: 11.72 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4731, allocations: 0 / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.005456/0.4786, allocations: 2.088 MB / 1.291 GB, free: 2.895 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/jenkins/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: 9.623869569972157]