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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 176.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008757/0.0008757, allocations: 95.78 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.168e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.412, allocations: 148.9 MB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.412, allocations: 70.73 kB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02022/1.432, allocations: 6.775 MB / 1.358 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.432, allocations: 0 / 1.358 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.62e-05/1.432, allocations: 3.812 kB / 1.358 GB, free: 33.76 MB / 0.8386 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.000829/1.433, allocations: 0.5527 MB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.433, allocations: 11.62 kB / 1.359 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/1.433, allocations: 36.11 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/1.434, allocations: 258.6 kB / 1.359 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.434, allocations: 5.844 kB / 1.359 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/1.434, allocations: 32.28 kB / 1.359 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002042/1.434, allocations: 70.12 kB / 1.359 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/1.434, allocations: 141.4 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.434, allocations: 0 / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/1.434, allocations: 1.453 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/1.434, allocations: 3.875 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/1.435, allocations: 0.6626 MB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/1.436, allocations: 171.5 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/1.436, allocations: 39.8 kB / 1.36 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/1.436, allocations: 3.844 kB / 1.36 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/1.436, allocations: 143.5 kB / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/1.436, allocations: 0 / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003834/1.436, allocations: 182.9 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.436, allocations: 55.28 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/1.437, allocations: 166.8 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/1.437, allocations: 36.52 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.437, allocations: 133.9 kB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/1.437, allocations: 41.11 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/1.437, allocations: 11.66 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.437, allocations: 327 kB / 1.361 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/1.437, allocations: 135.3 kB / 1.361 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/1.438, allocations: 215.8 kB / 1.361 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/1.438, allocations: 177.2 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.438, allocations: 0 / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001082/1.439, allocations: 486.2 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.451e-05/1.439, allocations: 159.8 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.439, allocations: 3.812 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.439, allocations: 3.844 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.871e-05/1.439, allocations: 14.2 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.439, allocations: 3.875 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/1.44, allocations: 186.5 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/1.44, allocations: 33.31 kB / 1.362 GB, free: 31.38 MB / 0.8386 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 () * 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.0001707/1.441, allocations: 131.8 kB / 1.363 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/1.441, allocations: 19.36 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/1.441, allocations: 20.52 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.441, allocations: 3.875 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.441, allocations: 0 / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.441, allocations: 0 / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/1.441, allocations: 462.9 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.441, allocations: 0 / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/1.441, allocations: 3.844 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.441, allocations: 0 / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.441, allocations: 10.53 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.441, allocations: 4 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.441, allocations: 0 / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/1.441, allocations: 264.6 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/1.442, allocations: 92.7 kB / 1.363 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/1.442, allocations: 7.922 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/1.442, allocations: 7.219 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/1.442, allocations: 23.56 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.442, allocations: 7.688 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.606e-05/1.442, allocations: 119.8 kB / 1.364 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.442, allocations: 0 / 1.364 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003763/1.442, allocations: 73.31 kB / 1.364 GB, free: 30.62 MB / 0.8386 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 () * 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.0002004/1.442, allocations: 120.2 kB / 1.364 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005941/1.443, allocations: 0.5795 MB / 1.364 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.443, allocations: 0 / 1.364 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/1.443, allocations: 76.44 kB / 1.364 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/1.443, allocations: 34.73 kB / 1.364 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/1.444, allocations: 208.1 kB / 1.365 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/1.444, allocations: 0.7341 MB / 1.365 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.122e-05/1.444, allocations: 23.14 kB / 1.365 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/1.444, allocations: 19 kB / 1.365 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.444, allocations: 3.844 kB / 1.365 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.007825/1.452, allocations: 3.815 MB / 1.369 GB, free: 29.08 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches