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.434/1.434, allocations: 249.3 MB / 261.8 MB, free: 5.844 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.001092/0.001092, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.000831/0.0008309, allocations: 98.2 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.145e-05, allocations: 11.98 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1971, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7199/0.9171, allocations: 131.7 MB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.9174, allocations: 79.56 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006186/0.9236, allocations: 2.154 MB / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9237, allocations: 0 / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.9237, allocations: 4 kB / 1.023 GB, free: 1.07 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.0006895/0.9244, allocations: 463.4 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.9244, allocations: 8.031 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.9245, allocations: 15.81 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.9248, allocations: 232.9 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.9248, allocations: 11.62 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.9248, allocations: 15.62 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.9251, allocations: 155.6 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.9252, allocations: 0 / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.9252, allocations: 11.75 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.9252, allocations: 7.984 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.9254, allocations: 92.91 kB / 1.024 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.9265, allocations: 0.5952 MB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.9268, allocations: 225.3 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.9269, allocations: 53.67 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.9269, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.9271, allocations: 131.9 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.9271, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0003513/0.9275, allocations: 161.8 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.9275, allocations: 67.27 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.9277, allocations: 156.2 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.9277, allocations: 33.02 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.9278, allocations: 111.7 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.9278, allocations: 38.08 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.9279, allocations: 3.25 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.928, allocations: 334.5 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.9281, allocations: 47.56 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.9282, allocations: 99.23 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.9283, allocations: 50.89 kB / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9283, allocations: 0 / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002581/0.9286, allocations: 185.2 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.9286, allocations: 8 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.9286, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.9286, allocations: 4 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.9287, allocations: 15.94 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.9287, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.9289, allocations: 47.77 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.929, allocations: 6.062 kB / 1.026 GB, free: 13.87 MB / 0.6511 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 0.0001039/0.9291, allocations: 139.6 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.9291, allocations: 15.81 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.9292, allocations: 23.86 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9292, allocations: 4 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.9292, allocations: 96 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9292, allocations: 3.938 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.9298, allocations: 0.4989 MB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9298, allocations: 4 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.9298, allocations: 8 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9298, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.9299, allocations: 11.05 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9299, allocations: 0 / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9299, allocations: 4 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.9302, allocations: 261.7 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.9302, allocations: 92.91 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.9303, allocations: 2.062 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.9305, allocations: 42.33 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.9306, allocations: 29.95 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.9306, allocations: 4 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.697e-05/0.9307, allocations: 117.1 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9307, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002341/0.931, allocations: 38.94 kB / 1.027 GB, free: 12.64 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.0001765/0.9311, allocations: 114.3 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.9314, allocations: 135.1 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9314, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.9316, allocations: 78.88 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.9319, allocations: 41.41 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.9324, allocations: 248.4 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.9327, allocations: 0.7285 MB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.06e-05/0.9328, allocations: 41.52 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.9329, allocations: 15.44 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9329, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.004726/0.9376, allocations: 2.015 MB / 1.03 GB, free: 9.312 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