Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001914/0.001914, 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.002229/0.002229, allocations: 216.6 kB / 22.25 MB, free: 4.852 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.541/3.541, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [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.002112/0.002112, allocations: 70 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4232, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002557/0.4257, allocations: 0.8039 MB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.4281, allocations: 1.498 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.4282, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.4283, allocations: 15.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.4284, allocations: 35.72 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.4297, allocations: 0.5311 MB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.4305, allocations: 471.2 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.4307, allocations: 29.66 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.4309, allocations: 183.7 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.4312, allocations: 155.5 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.4313, allocations: 40 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.4314, allocations: 51.98 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.4315, allocations: 43.84 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.4317, allocations: 147.6 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.4322, allocations: 418.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4322, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4322, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.4322, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008509/0.433, allocations: 0.58 MB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4331, allocations: 8.031 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/0.4332, allocations: 28.84 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.4336, allocations: 202.2 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4336, allocations: 16.38 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.4337, allocations: 36.3 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4339, allocations: 157.6 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.434, allocations: 4.188 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.434, allocations: 7.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.434, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4341, allocations: 83.89 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.435, allocations: 0.5625 MB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.4352, allocations: 90.53 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.4353, allocations: 37.03 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4353, allocations: 3.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.4356, allocations: 167.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.4356, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005008/0.4361, allocations: 254.3 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.4361, allocations: 55.41 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.4363, allocations: 182.7 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.4364, allocations: 37.7 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.4365, allocations: 132.6 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.4366, allocations: 39.75 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.4368, allocations: 117.6 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4369, allocations: 326.8 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.4374, allocations: 308.4 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.4379, allocations: 390.6 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.4384, allocations: 416.5 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4384, allocations: 0 / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00114/0.4396, allocations: 0.7776 MB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.4397, allocations: 166.7 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4397, allocations: 8 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.4397, allocations: 7.938 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.4398, allocations: 8 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4398, allocations: 8 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.4405, allocations: 135.7 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.4406, allocations: 35.97 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001999/0.4408, allocations: 158 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4408, allocations: 15.91 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.4409, allocations: 21.8 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.4409, allocations: 7.938 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4409, allocations: 4 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4409, allocations: 0 / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.4415, allocations: 440.1 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4415, allocations: 3.938 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.4415, allocations: 8 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4415, allocations: 3.938 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4415, allocations: 7.984 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4415, allocations: 0 / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4415, allocations: 3.938 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.4419, allocations: 283.3 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.4419, allocations: 23.84 kB / 1.336 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.4419, allocations: 4 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.442, allocations: 0 / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.4421, allocations: 23.97 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.4421, allocations: 11.98 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.842e-05/0.4422, allocations: 119.2 kB / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4422, allocations: 0 / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003689/0.4425, allocations: 79.89 kB / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001919/0.4427, allocations: 117.1 kB / 1.336 GB, free: 6.312 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009109/0.4436, allocations: 0.698 MB / 1.337 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4436, allocations: 0 / 1.337 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.4438, allocations: 63.91 kB / 1.337 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.4442, allocations: 52.62 kB / 1.337 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.4448, allocations: 336 kB / 1.337 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.445, allocations: 112.1 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.4451, allocations: 25.47 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.4451, allocations: 19.44 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4451, allocations: 4 kB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of Templates: time 0.009898/0.455, allocations: 5.231 MB / 1.343 GB, free: 15.77 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.976678688079119]