Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001018/0.001018, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.00231, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008417/0.0008417, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000962/0.001804, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09322/1.143, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.417/2.417, allocations: 446.7 MB / 0.6745 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2717/2.689, allocations: 145.9 MB / 0.817 GB, free: 4.18 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.416e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001341/0.001366, allocations: 0.7077 MB / 0.819 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.00265, allocations: 1.236 MB / 0.8202 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.002692, allocations: 0 / 0.8202 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.00272, allocations: 3.938 kB / 0.8202 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.00277, allocations: 15.86 kB / 0.8202 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.003174, allocations: 207.5 kB / 0.8204 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.003371, allocations: 171.7 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.00345, allocations: 11.98 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.003565, allocations: 95.92 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.003676, allocations: 55.78 kB / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.003701, allocations: 12 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.003788, allocations: 31.98 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.003808, allocations: 11.94 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.003859, allocations: 32 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004016, allocations: 99.78 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.004031, allocations: 0 / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004031, allocations: 7.938 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.004046, allocations: 0 / 0.8209 GB, free: 148 kB / 0.7917 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.0004456/0.004491, allocations: 343.8 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.004532, allocations: 12.62 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.004584, allocations: 12.92 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.004685, allocations: 121.7 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.004698, allocations: 8.375 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.004715, allocations: 8.375 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.116e-05/0.004786, allocations: 46.23 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.004792, allocations: 192 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.004798, allocations: 384 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.004802, allocations: 384 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.004819, allocations: 15.88 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.005069, allocations: 172.3 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.228e-05/0.005132, allocations: 30.64 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.005149, allocations: 12.94 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.005155, allocations: 4 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.005263, allocations: 79.25 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.005264, allocations: 0 / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001494/0.005414, allocations: 77.58 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.005455, allocations: 55.41 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.005534, allocations: 118.6 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.005557, allocations: 29.7 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.005603, allocations: 100.1 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.005616, allocations: 15.83 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.005677, allocations: 49.61 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.005765, allocations: 318.8 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.005846, allocations: 103.4 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.005932, allocations: 131.7 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.006045, allocations: 147.6 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.006049, allocations: 0 / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000205/0.006254, allocations: 264.8 kB / 0.8231 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.006316, allocations: 71.52 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.006324, allocations: 3.938 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.006336, allocations: 4 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-05/0.006362, allocations: 7.938 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006366, allocations: 3.984 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.006536, allocations: 39.92 kB / 0.8232 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.006554, allocations: 11.98 kB / 0.8232 GB, free: 13.5 MB / 0.8073 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 6.818e-05/0.006622, allocations: 121.8 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.006632, allocations: 7.984 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.006657, allocations: 12.38 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006659, allocations: 4 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006662, allocations: 0 / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006665, allocations: 0 / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.038e-05/0.006735, allocations: 73.88 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006737, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-06/0.006746, allocations: 7.938 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.006755, allocations: 7.891 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006757, allocations: 4 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.006761, allocations: 4 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.006764, allocations: 7.922 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.006765, allocations: 0 / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.241e-05/0.006848, allocations: 89.39 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.006857, allocations: 0 / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.006871, allocations: 0 / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.006903, allocations: 15.91 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.006906, allocations: 0 / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.677e-05/0.006923, allocations: 20.8 kB / 0.8236 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006923, allocations: 0 / 0.8236 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001288/0.007052, allocations: 31.98 kB / 0.8236 GB, free: 13.05 MB / 0.8073 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.0001126/0.007164, allocations: 88.3 kB / 0.8237 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.007358, allocations: 266.9 kB / 0.824 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.007362, allocations: 0 / 0.824 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.007384, allocations: 20.84 kB / 0.824 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.007516, allocations: 19.98 kB / 0.824 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.007942, allocations: 149.5 kB / 0.8242 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.064e-05/0.007972, allocations: 63.2 kB / 0.8242 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.007994, allocations: 4 kB / 0.8242 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.008087, allocations: 75.34 kB / 0.8243 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.008087, allocations: 3.938 kB / 0.8243 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of Templates: time 0.003674/0.01176, allocations: 2.293 MB / 0.8265 GB, free: 10.03 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.347457871772349]