Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 175 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008345/0.0008345, allocations: 82.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003388, allocations: 9.688 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2384, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.4112, allocations: 131.8 MB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4115, allocations: 71.95 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00641/0.4179, allocations: 2.142 MB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4179, allocations: 4 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.418, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008382/0.4188, allocations: 491.2 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4189, allocations: 8.219 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.4189, allocations: 15.81 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.4192, allocations: 236.6 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.4193, allocations: 8 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.4193, allocations: 12 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.4196, allocations: 163.2 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4196, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.4196, allocations: 12 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4197, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.4198, allocations: 103.9 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.4209, allocations: 0.6098 MB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.4212, allocations: 211.6 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4212, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.4214, allocations: 133.5 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.935e-06/0.4215, allocations: 3.984 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0004041/0.4219, allocations: 215.2 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.4219, allocations: 59.41 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.4221, allocations: 156.1 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4221, allocations: 33.7 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.4222, allocations: 116.5 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.4222, allocations: 43.72 kB / 1.033 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.4222, allocations: 8 kB / 1.033 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4223, allocations: 330.8 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.4224, allocations: 47.97 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.4225, allocations: 102 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.026e-05/0.4226, allocations: 47.94 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4226, allocations: 0 / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002625/0.4229, allocations: 183.2 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4229, allocations: 8 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4229, allocations: 0 / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.423, allocations: 4 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.4231, allocations: 24.11 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4231, allocations: 4 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4233, allocations: 39.97 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.4233, allocations: 7.938 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,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): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001368/0.4235, allocations: 152.6 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.4235, allocations: 15.81 kB / 1.034 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.4235, allocations: 25.17 kB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4236, allocations: 4 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4236, allocations: 0 / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4236, allocations: 0 / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.4242, allocations: 0.4944 MB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4242, allocations: 0 / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.4242, allocations: 7.984 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4242, allocations: 4 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.4243, allocations: 4 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4243, allocations: 4 kB / 1.035 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4243, allocations: 96 / 1.035 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4246, allocations: 273.4 kB / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.4246, allocations: 96.86 kB / 1.035 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.4247, allocations: 7.984 kB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.4249, allocations: 35.97 kB / 1.035 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.425, allocations: 31.95 kB / 1.035 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.425, allocations: 8 kB / 1.035 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.919e-05/0.4251, allocations: 120.5 kB / 1.035 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.4251, allocations: 0 / 1.035 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002719/0.4253, allocations: 43.98 kB / 1.036 GB, free: 4.703 MB / 0.6823 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],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * 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.0001692/0.4255, allocations: 107.2 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.4258, allocations: 139.8 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4258, allocations: 0 / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.4259, allocations: 77.97 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4263, allocations: 44.3 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.427, allocations: 380.5 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4273, allocations: 0.7323 MB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.4274, allocations: 33.52 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.4274, allocations: 19.44 kB / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.4274, allocations: 0 / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of Templates: time 0.004681/0.4321, allocations: 2.011 MB / 1.039 GB, free: 1.137 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches