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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 390.5 MB / 398 MB, free: 10.93 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.001034/0.001034, allocations: 200.5 kB / 491.2 MB, free: 1.551 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.759/1.759, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 87.91 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.627e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.427, allocations: 149.7 MB / 1.359 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.427, allocations: 66.73 kB / 1.359 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01835/1.446, allocations: 6.783 MB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.446, allocations: 0 / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.446, allocations: 7.875 kB / 1.365 GB, free: 32.8 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.0005253/1.446, allocations: 0.5591 MB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.446, allocations: 11.53 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/1.446, allocations: 30.78 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/1.447, allocations: 256.4 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.447, allocations: 3.812 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/1.447, allocations: 30.45 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001581/1.447, allocations: 73.33 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/1.447, allocations: 139 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.447, allocations: 0 / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/1.447, allocations: 2.906 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.447, allocations: 3.781 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/1.448, allocations: 0.6631 MB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/1.448, allocations: 167.8 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/1.448, allocations: 43.75 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/1.448, allocations: 3.844 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/1.448, allocations: 144.7 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/1.448, allocations: 0 / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003079/1.449, allocations: 176.5 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/1.449, allocations: 59.22 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/1.449, allocations: 163.1 kB / 1.368 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/1.449, allocations: 37.42 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/1.449, allocations: 126.7 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/1.449, allocations: 35.48 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/1.449, allocations: 10.69 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.449, allocations: 327.1 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.449, allocations: 139.7 kB / 1.368 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/1.45, allocations: 218 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/1.45, allocations: 177 kB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.45, allocations: 96 / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009641/1.451, allocations: 487.9 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/1.451, allocations: 167.6 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.451, allocations: 0 / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.451, allocations: 3.875 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/1.451, allocations: 14.39 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.451, allocations: 4.156 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/1.452, allocations: 183.9 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/1.452, allocations: 34.67 kB / 1.37 GB, free: 30.44 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.0001262/1.452, allocations: 129.2 kB / 1.37 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/1.452, allocations: 17.94 kB / 1.37 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/1.452, allocations: 17.72 kB / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/1.452, allocations: 3.938 kB / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.452, allocations: 64 / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/1.452, allocations: 6.484 kB / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/1.453, allocations: 470.2 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.453, allocations: 0 / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/1.453, allocations: 7.781 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.453, allocations: 3.844 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/1.453, allocations: 6.859 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.453, allocations: 0 / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.453, allocations: 3.812 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/1.453, allocations: 262.6 kB / 1.37 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/1.453, allocations: 96.69 kB / 1.371 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/1.453, allocations: 2.953 kB / 1.371 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/1.453, allocations: 0 / 1.371 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/1.453, allocations: 24.41 kB / 1.371 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/1.453, allocations: 10.22 kB / 1.371 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.468e-05/1.453, allocations: 116.2 kB / 1.371 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.453, allocations: 0 / 1.371 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000327/1.454, allocations: 78.81 kB / 1.371 GB, free: 29.68 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.0001739/1.454, allocations: 112.7 kB / 1.371 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005166/1.454, allocations: 0.58 MB / 1.371 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.454, allocations: 4.25 kB / 1.371 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/1.454, allocations: 72.33 kB / 1.371 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/1.455, allocations: 39.66 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/1.455, allocations: 210.8 kB / 1.372 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/1.456, allocations: 0.7331 MB / 1.372 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.856e-05/1.456, allocations: 23.72 kB / 1.372 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/1.456, allocations: 22.25 kB / 1.372 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/1.456, allocations: 3.938 kB / 1.372 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.006429/1.462, allocations: 3.825 MB / 1.376 GB, free: 28.13 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches