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.497/1.497, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.8 kB / 316.3 MB, free: 3.262 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.662/1.662, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009892/0.0009892, allocations: 80.25 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.906e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6746/0.8848, allocations: 131.9 MB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.8851, allocations: 72.33 kB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005865/0.891, allocations: 2.132 MB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.891, allocations: 0 / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.891, allocations: 10.62 kB / 1.016 GB, free: 3.938 MB / 0.6355 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.0006838/0.8917, allocations: 465.5 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.8918, allocations: 8.781 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.8918, allocations: 15.81 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.8921, allocations: 227 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.8921, allocations: 4 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.8922, allocations: 8 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002023/0.8924, allocations: 93.8 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.8926, allocations: 140.3 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.8926, allocations: 3.938 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.8927, allocations: 7.938 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8927, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009629/0.8936, allocations: 0.5657 MB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.8939, allocations: 204.3 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.894, allocations: 60.66 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.894, allocations: 4 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.8942, allocations: 129.7 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.8942, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0002971/0.8945, allocations: 150.4 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.8946, allocations: 59.39 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.8947, allocations: 152 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.8947, allocations: 29.08 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.8948, allocations: 114.6 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.8949, allocations: 42.12 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.8949, allocations: 0 / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.895, allocations: 328.5 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.8951, allocations: 41.73 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.421e-05/0.8952, allocations: 92.69 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.601e-05/0.8953, allocations: 46.53 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8953, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002267/0.8955, allocations: 167.5 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8955, allocations: 4.188 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8955, allocations: 8 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8956, allocations: 4 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.8957, allocations: 15.92 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8957, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.8959, allocations: 31.97 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.8959, allocations: 15.44 kB / 1.019 GB, free: 0.8516 MB / 0.6355 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 () * 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 9.662e-05/0.896, allocations: 123.4 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.896, allocations: 20.33 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.8961, allocations: 16.06 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.8961, allocations: 4 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8961, allocations: 3.938 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8961, allocations: 3.984 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.8966, allocations: 458.5 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8966, allocations: 0 / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.8966, allocations: 11.92 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.8966, allocations: 0 / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.8966, allocations: 160 / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8966, allocations: 11.94 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8967, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.8969, allocations: 244.5 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.8969, allocations: 92.92 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.897, allocations: 3.953 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.8972, allocations: 35.95 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.8973, allocations: 30.45 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.8973, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.8974, allocations: 130.8 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8974, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002431/0.8976, allocations: 28 kB / 1.021 GB, free: 15.69 MB / 0.6511 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 () * 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.0001384/0.8978, allocations: 106 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.898, allocations: 134.9 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.898, allocations: 384 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.8981, allocations: 71.55 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.8985, allocations: 40.3 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.8989, allocations: 231.2 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.8992, allocations: 0.7321 MB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.369e-05/0.8993, allocations: 37.81 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.8994, allocations: 15.44 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/0.8994, allocations: 0 / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of Templates: time 0.004106/0.9035, allocations: 1.922 MB / 1.024 GB, free: 12.47 MB / 0.6511 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