Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") [: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 10.0.0-master/package.mo): time 1.725/1.725, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009365/0.0009365, allocations: 185.2 kB / 490.8 MB, free: 1.984 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.064/1.064, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008039/0.0008039, allocations: 92.91 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.404e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1651, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.6132, allocations: 149.4 MB / 1.357 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001585/0.6134, allocations: 71.23 kB / 1.358 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01028/0.6237, allocations: 3.761 MB / 1.361 GB, free: 17.05 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.6237, allocations: 1.25 kB / 1.361 GB, free: 17.05 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00032/0.6241, allocations: 466.8 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6241, allocations: 13.91 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.6242, allocations: 14.5 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.806e-05/0.6243, allocations: 172.2 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.6243, allocations: 3.219 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.6243, allocations: 13.12 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.047e-05/0.6244, allocations: 16.34 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/0.6245, allocations: 51.81 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.6245, allocations: 0 / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.6245, allocations: 1.5 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.6245, allocations: 5.125 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.625, allocations: 399.3 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.625, allocations: 27.2 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.625, allocations: 19.55 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.6251, allocations: 1.312 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.813e-05/0.6251, allocations: 90.11 kB / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.6251, allocations: 0 / 1.362 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0001813/0.6253, allocations: 86.86 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.682e-05/0.6254, allocations: 54.28 kB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.6254, allocations: 122.7 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.6255, allocations: 38.7 kB / 1.363 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.6255, allocations: 91.31 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.6256, allocations: 28.02 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.6256, allocations: 5.031 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.6257, allocations: 319.4 kB / 1.363 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6258, allocations: 78.38 kB / 1.363 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.626, allocations: 119.6 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.6264, allocations: 106.4 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6264, allocations: 1.062 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006374/0.627, allocations: 278.9 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.6271, allocations: 4.406 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6271, allocations: 2.344 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6271, allocations: 6 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.876e-05/0.6271, allocations: 12.66 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6271, allocations: 3.469 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.6276, allocations: 116 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.6276, allocations: 25.31 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.169e-05/0.6277, allocations: 116.6 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.6277, allocations: 8.406 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.6278, allocations: 10.22 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.6278, allocations: 3.906 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6278, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6278, allocations: 3.938 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/0.6279, allocations: 162.6 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6279, allocations: 9.297 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-06/0.6279, allocations: 2.219 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6279, allocations: 0.9688 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.6279, allocations: 9.609 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.6279, allocations: 1.156 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6279, allocations: 0 / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001116/0.6281, allocations: 116 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.6281, allocations: 83.36 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.6281, allocations: 6.5 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.376e-05/0.6281, allocations: 2.578 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.6282, allocations: 13.59 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.6282, allocations: 5.344 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.964e-05/0.6282, allocations: 96.92 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002476/0.6285, allocations: 45.98 kB / 1.365 GB, free: 30.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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000113/0.6286, allocations: 114.2 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.6289, allocations: 234.5 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.6289, allocations: 0 / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.629, allocations: 35.38 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.6291, allocations: 15.03 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.6294, allocations: 117.2 kB / 1.365 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.6296, allocations: 0.7211 MB / 1.366 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/0.6296, allocations: 0 / 1.366 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of Templates: time 0.004074/0.6337, allocations: 2.22 MB / 1.368 GB, free: 29.51 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches