Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001611/0.001611, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001504/0.001504, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.334/3.334, allocations: 0.4899 GB / 0.7915 GB, free: 33.32 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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [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.002176/0.002176, allocations: 64.06 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4493, allocations: 176.1 MB / 1.321 GB, free: 2.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002166/0.4514, allocations: 0.8428 MB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.4536, allocations: 1.502 MB / 1.324 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.4537, allocations: 3.938 kB / 1.324 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.4538, allocations: 23.8 kB / 1.324 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.4539, allocations: 39.7 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.4553, allocations: 0.5165 MB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.4559, allocations: 475.3 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.4561, allocations: 25.48 kB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.4564, allocations: 199.6 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.4566, allocations: 171.5 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.4567, allocations: 40 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4568, allocations: 55.97 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.4569, allocations: 43.84 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.4571, allocations: 163.5 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.4576, allocations: 418.7 kB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4576, allocations: 0 / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4577, allocations: 0 / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.4577, allocations: 0 / 1.326 GB, free: 14.45 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.001024/0.4587, allocations: 0.6475 MB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4587, allocations: 15.98 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4588, allocations: 28.84 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.4592, allocations: 268 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4593, allocations: 20.38 kB / 1.327 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.4593, allocations: 28.38 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.4596, allocations: 154.7 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4597, allocations: 192 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.4597, allocations: 7.938 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.4597, allocations: 4 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4598, allocations: 83.92 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.461, allocations: 0.711 MB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.4612, allocations: 159.7 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.4613, allocations: 40.84 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.4613, allocations: 0 / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.4617, allocations: 165.2 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.4617, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005324/0.4622, allocations: 243 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.4623, allocations: 59.41 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4625, allocations: 182.2 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.4625, allocations: 37.7 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4627, allocations: 132.5 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.4627, allocations: 43.75 kB / 1.329 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.4629, allocations: 121.6 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4631, allocations: 326.8 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.4634, allocations: 151.9 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.4638, allocations: 246.2 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.4644, allocations: 400.5 kB / 1.33 GB, free: 9.852 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4644, allocations: 96 / 1.33 GB, free: 9.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001187/0.4656, allocations: 0.648 MB / 1.33 GB, free: 9.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.4658, allocations: 160.5 kB / 1.331 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4658, allocations: 12 kB / 1.331 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.4659, allocations: 4 kB / 1.331 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.761e-05/0.4659, allocations: 7.938 kB / 1.331 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4659, allocations: 4 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.4667, allocations: 144 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.4668, allocations: 31.98 kB / 1.331 GB, free: 8.781 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0002124/0.467, allocations: 159.1 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.467, allocations: 19.89 kB / 1.331 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.4671, allocations: 21.81 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4671, allocations: 0 / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4671, allocations: 4 kB / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4671, allocations: 0 / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.4679, allocations: 0.5177 MB / 1.331 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4679, allocations: 0 / 1.331 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.4679, allocations: 0 / 1.331 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4679, allocations: 8 kB / 1.331 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4679, allocations: 0 / 1.331 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.4679, allocations: 7.984 kB / 1.331 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4679, allocations: 0 / 1.331 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.4683, allocations: 285.3 kB / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.4683, allocations: 89.02 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.4684, allocations: 7.984 kB / 1.332 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.4684, allocations: 4 kB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4685, allocations: 27.97 kB / 1.332 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4685, allocations: 4 kB / 1.332 GB, free: 7.539 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001052/0.4686, allocations: 119.2 kB / 1.332 GB, free: 7.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4686, allocations: 0 / 1.332 GB, free: 7.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003838/0.469, allocations: 83.89 kB / 1.332 GB, free: 7.34 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0002283/0.4692, allocations: 107.2 kB / 1.332 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009393/0.4702, allocations: 0.5592 MB / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4702, allocations: 0 / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4703, allocations: 65.8 kB / 1.333 GB, free: 6.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.4707, allocations: 62.39 kB / 1.333 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.4715, allocations: 334.8 kB / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.4721, allocations: 0.7242 MB / 1.334 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.147e-05/0.4722, allocations: 25.53 kB / 1.334 GB, free: 5.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.4722, allocations: 23.44 kB / 1.334 GB, free: 5.332 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4722, allocations: 0 / 1.334 GB, free: 5.332 MB / 1.029 GB Notification: Performance of Templates: time 0.01181/0.484, allocations: 4.583 MB / 1.338 GB, free: 0.8086 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.45645630499348]