Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008082/0.0008082, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001256/0.001256, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.892/0.892, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.774/1.774, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.752e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001337/0.001365, allocations: 0.8008 MB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.002753, allocations: 1.506 MB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.002824, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.00293, allocations: 23.73 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.002978, allocations: 47.64 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.003872, allocations: 0.5101 MB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.004292, allocations: 483.1 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.004412, allocations: 29.59 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.004613, allocations: 259.7 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.004783, allocations: 147.6 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.004828, allocations: 43.94 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.004908, allocations: 48 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.004955, allocations: 39.89 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.005216, allocations: 139.8 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.005611, allocations: 490.8 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005614, allocations: 4 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.425e-06/0.005617, allocations: 4 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.005623, allocations: 0 / 1.005 GB, free: 8.441 MB / 0.9636 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.0005731/0.006196, allocations: 0.5682 MB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00623, allocations: 12.75 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.006303, allocations: 32.8 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.00653, allocations: 193.5 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006549, allocations: 20.38 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.006592, allocations: 36.36 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.006781, allocations: 147.8 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.00679, allocations: 4.188 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.006804, allocations: 8.375 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006809, allocations: 384 / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/0.006908, allocations: 92.62 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.007462, allocations: 0.5703 MB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.007597, allocations: 90.42 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.007643, allocations: 36.84 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.007655, allocations: 4 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.007858, allocations: 159.2 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.007859, allocations: 0 / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0003462/0.008206, allocations: 251.7 kB / 1.008 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.008241, allocations: 59.36 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.008348, allocations: 175.7 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.008384, allocations: 41.7 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.008457, allocations: 136.6 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.008481, allocations: 39.69 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.008601, allocations: 113.6 kB / 1.008 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.008676, allocations: 326.8 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.008957, allocations: 312.4 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.009248, allocations: 396.1 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.009563, allocations: 414.8 kB / 1.009 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.009566, allocations: 0 / 1.009 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006854/0.01025, allocations: 0.7677 MB / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.01032, allocations: 164.5 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01033, allocations: 0 / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01034, allocations: 8.344 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.01036, allocations: 11.94 kB / 1.01 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01037, allocations: 7.984 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.01076, allocations: 147.6 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.0108, allocations: 31.92 kB / 1.011 GB, free: 2.664 MB / 0.9636 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.0001217/0.01092, allocations: 159.3 kB / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.01094, allocations: 19.89 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.01097, allocations: 17.81 kB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01097, allocations: 3.938 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01097, allocations: 0 / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01098, allocations: 4 kB / 1.011 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.01133, allocations: 446 kB / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01133, allocations: 0 / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.01134, allocations: 7.938 kB / 1.011 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01134, allocations: 3.984 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01135, allocations: 4 kB / 1.011 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01135, allocations: 7.938 kB / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01136, allocations: 0 / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.01154, allocations: 277.6 kB / 1.011 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.01156, allocations: 15.84 kB / 1.011 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01157, allocations: 8.094 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.01162, allocations: 11.88 kB / 1.011 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.01166, allocations: 27.91 kB / 1.011 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01167, allocations: 7.984 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001891/0.01186, allocations: 124.2 kB / 1.012 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01186, allocations: 0 / 1.012 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002571/0.01212, allocations: 76 kB / 1.012 GB, free: 1.406 MB / 0.9636 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.0001328/0.01225, allocations: 112.3 kB / 1.012 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.01278, allocations: 0.7046 MB / 1.012 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01278, allocations: 0 / 1.012 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.01286, allocations: 63.91 kB / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.01314, allocations: 47.95 kB / 1.013 GB, free: 392 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.01358, allocations: 362.8 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.399e-05/0.01366, allocations: 120 kB / 1.013 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.01369, allocations: 20.5 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/0.01369, allocations: 0 / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of Templates: time 0.003784/0.01747, allocations: 3.37 MB / 1.016 GB, free: 12.5 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 6.951252275146544]