Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008814/0.0008813, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001143/0.001143, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 8 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.825, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001094/0.8262, allocations: 0.5276 MB / 0.955 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.8281, allocations: 1.471 MB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.8282, allocations: 1.156 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.8284, allocations: 9.219 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.8284, allocations: 23.22 kB / 0.9564 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.8297, allocations: 474.7 kB / 0.9569 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.8301, allocations: 380 kB / 0.9572 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.8303, allocations: 29.61 kB / 0.9573 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.8305, allocations: 160.3 kB / 0.9574 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.8307, allocations: 125.9 kB / 0.9575 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.8308, allocations: 22.06 kB / 0.9576 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.8309, allocations: 42.95 kB / 0.9576 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.831, allocations: 38.58 kB / 0.9576 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.8311, allocations: 63.2 kB / 0.9577 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.8314, allocations: 281.7 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.8314, allocations: 5.281 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8315, allocations: 0 / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.8315, allocations: 0 / 0.958 GB, free: 5.168 MB / 0.7169 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.0006434/0.8321, allocations: 0.573 MB / 0.9585 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.8322, allocations: 13.19 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.8323, allocations: 35.14 kB / 0.9586 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.8326, allocations: 260.7 kB / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.8327, allocations: 16.38 kB / 0.9589 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.8327, allocations: 28.75 kB / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.833, allocations: 156 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.833, allocations: 0 / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.833, allocations: 2.75 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.8331, allocations: 10.7 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.8332, allocations: 82.56 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.834, allocations: 0.7145 MB / 0.9598 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.8342, allocations: 174.2 kB / 0.96 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.8343, allocations: 41.47 kB / 0.96 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.8343, allocations: 1.375 kB / 0.96 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.8346, allocations: 159.3 kB / 0.9602 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.8346, allocations: 1.25 kB / 0.9602 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005432/0.8352, allocations: 241.6 kB / 0.9604 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.8352, allocations: 59.31 kB / 0.9605 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.8354, allocations: 181.5 kB / 0.9606 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.8355, allocations: 43 kB / 0.9607 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.8356, allocations: 127.5 kB / 0.9608 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.8356, allocations: 34.61 kB / 0.9608 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.8357, allocations: 13 kB / 0.9608 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.8357, allocations: 334.9 kB / 0.9612 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.8361, allocations: 152.4 kB / 0.9613 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.8365, allocations: 236.7 kB / 0.9615 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.8369, allocations: 288.1 kB / 0.9618 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8369, allocations: 0 / 0.9618 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001045/0.8379, allocations: 0.621 MB / 0.9624 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.8381, allocations: 164.3 kB / 0.9626 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8381, allocations: 3.375 kB / 0.9626 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.8381, allocations: 8.359 kB / 0.9626 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/0.8382, allocations: 13.8 kB / 0.9626 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.8382, allocations: 7.125 kB / 0.9626 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008507/0.839, allocations: 197.5 kB / 0.9628 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/0.8391, allocations: 38.69 kB / 0.9628 GB, free: 1.176 MB / 0.7169 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,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.8393, allocations: 156.5 kB / 0.963 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.8393, allocations: 14.59 kB / 0.963 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.8394, allocations: 21.25 kB / 0.963 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.8394, allocations: 6.391 kB / 0.963 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.8394, allocations: 9.047 kB / 0.963 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8394, allocations: 0 / 0.963 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.84, allocations: 0.5028 MB / 0.9635 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.84, allocations: 0 / 0.9635 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.84, allocations: 7.375 kB / 0.9635 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.84, allocations: 5.359 kB / 0.9635 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.84, allocations: 6.422 kB / 0.9635 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.8401, allocations: 5.125 kB / 0.9635 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8401, allocations: 0 / 0.9635 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.8403, allocations: 279 kB / 0.9638 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.8404, allocations: 92.45 kB / 0.9639 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.8404, allocations: 7.562 kB / 0.9639 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.8405, allocations: 0 / 0.9639 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.8406, allocations: 27.02 kB / 0.9639 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.8406, allocations: 11.14 kB / 0.9639 GB, free: 236 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.8407, allocations: 128.8 kB / 0.9641 GB, free: 132 kB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8407, allocations: 3.938 kB / 0.9641 GB, free: 128 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000361/0.841, allocations: 75.56 kB / 0.9641 GB, free: 120 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.8412, allocations: 114 kB / 0.9642 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008622/0.8421, allocations: 0.6118 MB / 0.9648 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8421, allocations: 4.062 kB / 0.9648 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.8422, allocations: 73.19 kB / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.8427, allocations: 52.08 kB / 0.965 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.8435, allocations: 365.8 kB / 0.9653 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.8439, allocations: 0.7288 MB / 0.966 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.325e-05/0.844, allocations: 24.16 kB / 0.9661 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.844, allocations: 17.56 kB / 0.9661 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.844, allocations: 5.125 kB / 0.9661 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.01069/0.8547, allocations: 4.143 MB / 0.9701 GB, free: 12.36 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches