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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001649/0.00165, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001758/0.001758, allocations: 186.5 kB / 16.91 MB, free: 5.746 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.665 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.91 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6446/0.6461, allocations: 140.4 MB / 0.9498 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00201/0.6482, allocations: 0.8908 MB / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.6498, allocations: 1.48 MB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.6499, allocations: 1.344 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.65, allocations: 13.06 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.6501, allocations: 27.41 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.6512, allocations: 495 kB / 0.9526 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.6518, allocations: 0.4933 MB / 0.9531 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.6519, allocations: 40.45 kB / 0.9531 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.6521, allocations: 180.2 kB / 0.9533 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.6523, allocations: 144.2 kB / 0.9535 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.6524, allocations: 44.31 kB / 0.9535 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.6525, allocations: 55.02 kB / 0.9536 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.6526, allocations: 42.84 kB / 0.9536 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.6527, allocations: 163 kB / 0.9537 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.653, allocations: 296.9 kB / 0.954 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.653, allocations: 1.375 kB / 0.954 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6531, allocations: 0 / 0.954 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6531, allocations: 0 / 0.954 GB, free: 6.098 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.0006727/0.6537, allocations: 0.6419 MB / 0.9547 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6538, allocations: 10.12 kB / 0.9547 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.6539, allocations: 32.84 kB / 0.9547 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.6542, allocations: 258.7 kB / 0.9549 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.6542, allocations: 24.89 kB / 0.955 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.6543, allocations: 29.19 kB / 0.955 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.6545, allocations: 157.5 kB / 0.9551 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6546, allocations: 1.656 kB / 0.9551 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.6546, allocations: 9.375 kB / 0.9552 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6546, allocations: 2.812 kB / 0.9552 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.6547, allocations: 87.47 kB / 0.9552 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.6555, allocations: 0.7134 MB / 0.9559 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.6558, allocations: 166.4 kB / 0.9561 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/0.6559, allocations: 46.06 kB / 0.9561 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.6559, allocations: 2.688 kB / 0.9561 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.6561, allocations: 156.9 kB / 0.9563 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.6561, allocations: 4 kB / 0.9563 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004448/0.6566, allocations: 241.7 kB / 0.9565 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.6566, allocations: 59.08 kB / 0.9566 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.6568, allocations: 182.1 kB / 0.9568 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.6568, allocations: 38.73 kB / 0.9568 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.6569, allocations: 127.3 kB / 0.9569 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.657, allocations: 39.98 kB / 0.957 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.6572, allocations: 117.2 kB / 0.9571 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.6572, allocations: 330.4 kB / 0.9574 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.6575, allocations: 156.9 kB / 0.9575 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.6579, allocations: 238.3 kB / 0.9578 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.6582, allocations: 409 kB / 0.9581 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6583, allocations: 0 / 0.9581 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009189/0.6592, allocations: 0.6159 MB / 0.9588 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.6593, allocations: 173.3 kB / 0.9589 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6593, allocations: 6.438 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.6593, allocations: 4.406 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.6594, allocations: 13.09 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6594, allocations: 4.312 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.6602, allocations: 147.2 kB / 0.9591 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.6603, allocations: 35.09 kB / 0.9591 GB, free: 1.891 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,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.0001519/0.6604, allocations: 152.3 kB / 0.9593 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.6605, allocations: 15.31 kB / 0.9593 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.6605, allocations: 33.2 kB / 0.9593 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6605, allocations: 2.594 kB / 0.9593 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6606, allocations: 0 / 0.9593 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6606, allocations: 0.7812 kB / 0.9593 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.6611, allocations: 0.507 MB / 0.9598 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6611, allocations: 0.9688 kB / 0.9598 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.6611, allocations: 11.17 kB / 0.9598 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6611, allocations: 0.8125 kB / 0.9598 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.6611, allocations: 2.062 kB / 0.9598 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6611, allocations: 5.062 kB / 0.9598 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6611, allocations: 1.156 kB / 0.9598 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.6614, allocations: 289.1 kB / 0.9601 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.6614, allocations: 90.27 kB / 0.9602 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.6615, allocations: 4.75 kB / 0.9602 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.6615, allocations: 6.203 kB / 0.9602 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.6616, allocations: 15.7 kB / 0.9602 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.6616, allocations: 18.67 kB / 0.9602 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.6617, allocations: 124 kB / 0.9604 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6617, allocations: 0 / 0.9604 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003718/0.6621, allocations: 84.78 kB / 0.9604 GB, free: 0.832 MB / 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 (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.0001616/0.6623, allocations: 110.8 kB / 0.9605 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.663, allocations: 0.6319 MB / 0.9612 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.663, allocations: 1.156 kB / 0.9612 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.6631, allocations: 79.28 kB / 0.9612 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.6635, allocations: 54.02 kB / 0.9613 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.6641, allocations: 411.7 kB / 0.9617 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6644, allocations: 0.7243 MB / 0.9624 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.6645, allocations: 22.47 kB / 0.9624 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of SimCode: time 1.973e-06/0.6645, allocations: 0 / 0.9624 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of Templates: time 0.005514/0.67, allocations: 3.332 MB / 0.9657 GB, free: 13.39 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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