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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 104.5 kB / 16.41 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 195.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.449/2.449, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.03 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7321, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001757/0.7339, allocations: 0.8244 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.7355, allocations: 1.494 MB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.7356, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.7357, allocations: 19.8 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.7358, allocations: 31.7 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.7369, allocations: 0.5137 MB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.7374, allocations: 0.4992 MB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.7375, allocations: 45.44 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.7377, allocations: 187.7 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.7379, allocations: 175.5 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.738, allocations: 40 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.7381, allocations: 55.98 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.7382, allocations: 43.89 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.7383, allocations: 155.5 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.7387, allocations: 418.6 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7387, allocations: 4 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7387, allocations: 0 / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7387, allocations: 0 / 1.213 GB, free: 9.137 MB / 0.9356 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.0006951/0.7394, allocations: 0.6398 MB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.7395, allocations: 8.031 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.7396, allocations: 32.75 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.7399, allocations: 269.1 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.7399, allocations: 16.38 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.74, allocations: 28.38 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.7402, allocations: 156.7 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7402, allocations: 4.188 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.7402, allocations: 3.938 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.7403, allocations: 4 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.7404, allocations: 91.81 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.7411, allocations: 0.7031 MB / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.7413, allocations: 167.7 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.7414, allocations: 40.84 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.7414, allocations: 0 / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.7417, allocations: 163.3 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.7417, allocations: 0 / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.000405/0.7421, allocations: 243.5 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.7421, allocations: 59.34 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.7423, allocations: 190.7 kB / 1.216 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.7423, allocations: 45.69 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.7424, allocations: 124.4 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.7425, allocations: 35.53 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.7427, allocations: 117.6 kB / 1.216 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.7428, allocations: 330.8 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.743, allocations: 151.9 kB / 1.216 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.7434, allocations: 238.1 kB / 1.217 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.7438, allocations: 413.8 kB / 1.217 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7438, allocations: 4 kB / 1.217 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008496/0.7446, allocations: 0.6267 MB / 1.218 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.7447, allocations: 164.4 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7447, allocations: 3.938 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.7448, allocations: 4 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.7448, allocations: 16 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7448, allocations: 4 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.7455, allocations: 139.7 kB / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.7456, allocations: 27.98 kB / 1.218 GB, free: 3.492 MB / 0.9356 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.0001571/0.7458, allocations: 159.1 kB / 1.218 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.7458, allocations: 23.8 kB / 1.218 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.7458, allocations: 21.8 kB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7458, allocations: 4 kB / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7459, allocations: 0 / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.7459, allocations: 0 / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.7463, allocations: 0.5176 MB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7463, allocations: 0 / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.7464, allocations: 4 kB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7464, allocations: 0 / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.7464, allocations: 4 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7464, allocations: 7.984 kB / 1.219 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7464, allocations: 0 / 1.219 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.7467, allocations: 285.5 kB / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.7467, allocations: 92.92 kB / 1.219 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.7467, allocations: 7.984 kB / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.7468, allocations: 0 / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.7469, allocations: 23.97 kB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7469, allocations: 8 kB / 1.219 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.747, allocations: 123.2 kB / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.747, allocations: 0 / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003408/0.7473, allocations: 75.94 kB / 1.219 GB, free: 2.051 MB / 0.9356 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.0001521/0.7475, allocations: 115.2 kB / 1.219 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000672/0.7482, allocations: 0.6106 MB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7482, allocations: 8.125 kB / 1.22 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.7483, allocations: 79.91 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.7487, allocations: 59.78 kB / 1.22 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.7492, allocations: 359.7 kB / 1.22 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.7495, allocations: 0.7242 MB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.7495, allocations: 19.44 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.7495, allocations: 0 / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of Templates: time 0.004586/0.7541, allocations: 3.341 MB / 1.224 GB, free: 12.66 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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