Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009942/0.0009942, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002403, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007191/0.0007191, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009592/0.001678, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9989/0.9989, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.103, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.83/1.83, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5368/2.367, allocations: 123.3 MB / 0.7283 GB, free: 5.773 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 4.531 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.16e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002029/0.002061, allocations: 0.7102 MB / 0.7303 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.003601, allocations: 1.237 MB / 0.7316 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.003645, allocations: 0 / 0.7316 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.003675, allocations: 7.922 kB / 0.7316 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.003735, allocations: 16.03 kB / 0.7316 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.004249, allocations: 210.1 kB / 0.7318 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.004513, allocations: 173.7 kB / 0.7319 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.004598, allocations: 8 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.004759, allocations: 99.38 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.004908, allocations: 50.75 kB / 0.7321 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.004945, allocations: 12 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.005049, allocations: 32.97 kB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.005076, allocations: 7.188 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.005138, allocations: 35.94 kB / 0.7322 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005347, allocations: 107.7 kB / 0.7323 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.005362, allocations: 0.6562 kB / 0.7323 GB, free: 1.809 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.005364, allocations: 4 kB / 0.7323 GB, free: 1.805 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.005382, allocations: 0.6875 kB / 0.7323 GB, free: 1.805 MB / 0.698 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.0006081/0.00599, allocations: 343.9 kB / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.006033, allocations: 13.75 kB / 0.7326 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.006097, allocations: 12.92 kB / 0.7326 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.006219, allocations: 117.6 kB / 0.7327 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.006238, allocations: 4.375 kB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.00627, allocations: 13.44 kB / 0.7328 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.747e-05/0.006358, allocations: 42.23 kB / 0.7328 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006366, allocations: 192 / 0.7328 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.006375, allocations: 1.5 kB / 0.7328 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.006384, allocations: 4.375 kB / 0.7328 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.006403, allocations: 7.938 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.006737, allocations: 184.8 kB / 0.733 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.462e-05/0.006821, allocations: 31.44 kB / 0.733 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.006842, allocations: 12.86 kB / 0.733 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.006849, allocations: 0.75 kB / 0.733 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.006991, allocations: 83.33 kB / 0.7331 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.006994, allocations: 0.6875 kB / 0.7331 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001718/0.007165, allocations: 75.42 kB / 0.7332 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.007207, allocations: 51.41 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007309, allocations: 126.6 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.007339, allocations: 33.7 kB / 0.7334 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.007398, allocations: 92.09 kB / 0.7335 GB, free: 448 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.007417, allocations: 12.84 kB / 0.7335 GB, free: 436 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.007511, allocations: 49.67 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.007628, allocations: 318.8 kB / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.007766, allocations: 99.81 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.007888, allocations: 132.7 kB / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.008038, allocations: 144.4 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.008041, allocations: 4.469 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002975/0.008339, allocations: 265.2 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.008427, allocations: 69.17 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.008437, allocations: 3.938 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.00846, allocations: 4 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.027e-05/0.00849, allocations: 8 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.008497, allocations: 5.156 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.008726, allocations: 37.86 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.008752, allocations: 11.98 kB / 0.7346 GB, free: 15.18 MB / 0.7136 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.0001006/0.008853, allocations: 121.1 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.008873, allocations: 7.984 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.00891, allocations: 12.38 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008912, allocations: 4.688 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.008914, allocations: 0.75 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.008919, allocations: 0 / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.00902, allocations: 75.56 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.009022, allocations: 0 / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.009034, allocations: 4 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.009046, allocations: 7.938 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009048, allocations: 4 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.009054, allocations: 0.5 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.009059, allocations: 5.125 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.009061, allocations: 3.938 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.009191, allocations: 85.09 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.009205, allocations: 0.5312 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.593e-05/0.009231, allocations: 64 / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.009281, allocations: 20.64 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.009289, allocations: 0 / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.009318, allocations: 17.38 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009318, allocations: 0.9375 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002385/0.009557, allocations: 31.94 kB / 0.735 GB, free: 14.74 MB / 0.7136 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.0001827/0.00974, allocations: 89.42 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.01003, allocations: 263.5 kB / 0.7353 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.01004, allocations: 1.75 kB / 0.7353 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.01007, allocations: 20.86 kB / 0.7353 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.0103, allocations: 133.5 kB / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.01092, allocations: 153 kB / 0.7356 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.01097, allocations: 59.3 kB / 0.7357 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.01101, allocations: 15.91 kB / 0.7357 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.01114, allocations: 75.36 kB / 0.7358 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.01115, allocations: 0 / 0.7358 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of Templates: time 0.00533/0.01648, allocations: 2.26 MB / 0.738 GB, free: 11.7 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.077316058799624]