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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001034/0.001034, allocations: 185 kB / 316 MB, free: 3.539 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.501/1.501, allocations: 205.2 MB / 0.5667 GB, free: 15.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.0009197/0.0009197, allocations: 94.06 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.854e-06/7.885e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6119/0.8233, allocations: 132 MB / 1.013 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.8236, allocations: 72.64 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006184/0.8298, allocations: 1.88 MB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.8298, allocations: 4 kB / 1.015 GB, free: 4.98 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.0007056/0.8306, allocations: 481.9 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8306, allocations: 8.031 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.8307, allocations: 15.81 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.8309, allocations: 229.4 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.831, allocations: 7.984 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.831, allocations: 11.56 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002012/0.8312, allocations: 90.72 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.8314, allocations: 144.4 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8315, allocations: 4.688 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.8315, allocations: 8 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.8315, allocations: 4 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.8324, allocations: 0.5602 MB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.8327, allocations: 203.5 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.8328, allocations: 53.48 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.8328, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.833, allocations: 113.9 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.833, allocations: 0 / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0002828/0.8333, allocations: 143.5 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.8334, allocations: 55.41 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.8335, allocations: 153.3 kB / 1.018 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.8335, allocations: 33.14 kB / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.8336, allocations: 103.5 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.8336, allocations: 34.05 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.8336, allocations: 0 / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8338, allocations: 332.9 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.8338, allocations: 48.11 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.834, allocations: 93.84 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.834, allocations: 49.17 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.834, allocations: 4 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002214/0.8343, allocations: 158.1 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.8343, allocations: 10.34 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8343, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8343, allocations: 4 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.8344, allocations: 12.17 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8344, allocations: 11.94 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.8346, allocations: 43.88 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.8347, allocations: 11.44 kB / 1.018 GB, free: 1.891 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.902e-05/0.8348, allocations: 126.4 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.8348, allocations: 11.81 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.8349, allocations: 19.19 kB / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.8349, allocations: 4 kB / 1.019 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8349, allocations: 4 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8349, allocations: 3.984 kB / 1.019 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.8354, allocations: 443.7 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8354, allocations: 3.938 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.8354, allocations: 7.938 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8354, allocations: 0 / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.8354, allocations: 7.984 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8354, allocations: 3.906 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8355, allocations: 0 / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002308/0.8357, allocations: 239.9 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.8358, allocations: 96.78 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.8358, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.836, allocations: 35.97 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.8361, allocations: 31.5 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.8361, allocations: 15.73 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.919e-05/0.8362, allocations: 113.6 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002554/0.8365, allocations: 32 kB / 1.02 GB, free: 0.7422 MB / 0.6355 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.0001587/0.8366, allocations: 106.4 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.8369, allocations: 128 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8369, allocations: 0 / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.837, allocations: 68.17 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.8373, allocations: 42.44 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005735/0.8379, allocations: 246.3 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.8383, allocations: 0.7511 MB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.8383, allocations: 0 / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of Templates: time 0.00492/0.8433, allocations: 2.27 MB / 1.023 GB, free: 13.2 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