Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001401/0.001401, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001637/0.001637, allocations: 221 kB / 23 MB, free: 4.918 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.798/2.798, allocations: 476 MB / 0.7707 GB, free: 4.758 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [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.002096/0.002096, allocations: 66.14 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002105/0.3452, allocations: 0.6381 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.347, allocations: 1.207 MB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.347, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.3471, allocations: 3.938 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.3471, allocations: 11.86 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.3479, allocations: 222 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3481, allocations: 167.8 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.3482, allocations: 11.98 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3484, allocations: 67.89 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3485, allocations: 55.78 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.3485, allocations: 16 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.3486, allocations: 31.92 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.3486, allocations: 12 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.3487, allocations: 55.88 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.349, allocations: 147.5 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.349, allocations: 4 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.349, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.349, allocations: 0 / 1.286 GB, free: 9.297 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.0005736/0.3496, allocations: 357.5 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3496, allocations: 12.03 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.3497, allocations: 8.922 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3498, allocations: 110.5 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3498, allocations: 12.38 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.3498, allocations: 12.38 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.35, allocations: 50.17 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.35, allocations: 192 / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.35, allocations: 3.938 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.35, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.35, allocations: 15.94 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.3505, allocations: 272.5 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.3506, allocations: 42.5 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.3506, allocations: 12.8 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.3506, allocations: 0 / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.3508, allocations: 95.41 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3508, allocations: 0 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002838/0.3511, allocations: 109.6 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.3512, allocations: 51.41 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3513, allocations: 121.7 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.3513, allocations: 33.64 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.3514, allocations: 100.1 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3514, allocations: 11.91 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.844e-05/0.3515, allocations: 49.69 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3517, allocations: 318.8 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.3519, allocations: 119.4 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3521, allocations: 155.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.3523, allocations: 159.5 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3523, allocations: 0 / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005135/0.3528, allocations: 328.7 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.3529, allocations: 79.39 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3529, allocations: 0 / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3529, allocations: 4 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.961e-05/0.3529, allocations: 0 / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3529, allocations: 4 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.3533, allocations: 51.94 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.3533, allocations: 11.98 kB / 1.289 GB, free: 6.348 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,or1.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.0001184/0.3534, allocations: 125.8 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.3535, allocations: 7.953 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.3535, allocations: 8.375 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3535, allocations: 4 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3535, allocations: 3.938 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3535, allocations: 3.984 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.3536, allocations: 125.2 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3536, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.3536, allocations: 4 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3536, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3537, allocations: 4 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3537, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3537, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3538, allocations: 117 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.3538, allocations: 3.953 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3539, allocations: 7.984 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.3539, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.3539, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3539, allocations: 7.984 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.354, allocations: 95.16 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.354, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000257/0.3543, allocations: 39.98 kB / 1.29 GB, free: 5.738 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,or1.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.0001562/0.3544, allocations: 99.19 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.3548, allocations: 282.1 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3548, allocations: 0 / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.3549, allocations: 24 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3552, allocations: 22.33 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.3556, allocations: 196.7 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.3556, allocations: 75.31 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.3557, allocations: 11.44 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3557, allocations: 0 / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of Templates: time 0.003656/0.3593, allocations: 1.389 MB / 1.292 GB, free: 3.566 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.216517014428973]