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.And.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") [: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.306/1.306, allocations: 249.4 MB / 256.7 MB, free: 15.81 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.001098/0.001098, allocations: 190.5 kB / 316 MB, free: 7.203 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.547/1.547, allocations: 205.1 MB / 0.5667 GB, free: 23.58 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.0009788/0.0009791, allocations: 91.31 kB / 0.671 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.706e-06, allocations: 4 kB / 0.7807 GB, free: 368 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3907, allocations: 106.3 MB / 0.8846 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.5301, allocations: 130.6 MB / 1.012 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.5304, allocations: 67.97 kB / 1.012 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.002222/0.5326, allocations: 0.6076 MB / 1.013 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.5326, allocations: 4 kB / 1.013 GB, free: 8.797 MB / 0.6667 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.0003896/0.533, allocations: 354.4 kB / 1.013 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5331, allocations: 8.031 kB / 1.013 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.5331, allocations: 7.906 kB / 1.013 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.5332, allocations: 174.9 kB / 1.013 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5333, allocations: 4 kB / 1.013 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.5333, allocations: 4 kB / 1.013 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.728e-05/0.5334, allocations: 19.98 kB / 1.013 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.5335, allocations: 53.56 kB / 1.013 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5335, allocations: 4 kB / 1.013 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5335, allocations: 0 / 1.013 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5335, allocations: 0 / 1.013 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.5339, allocations: 285.3 kB / 1.014 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.534, allocations: 38.58 kB / 1.014 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.5341, allocations: 16.98 kB / 1.014 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.5341, allocations: 0 / 1.014 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/0.5342, allocations: 67.33 kB / 1.014 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5342, allocations: 0 / 1.014 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0001579/0.5344, allocations: 61.61 kB / 1.014 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.5344, allocations: 55.39 kB / 1.014 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.5345, allocations: 104.9 kB / 1.014 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.5345, allocations: 33.7 kB / 1.014 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.5345, allocations: 80.14 kB / 1.014 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.5346, allocations: 15.89 kB / 1.014 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.5346, allocations: 0 / 1.014 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.5347, allocations: 314.8 kB / 1.014 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.5347, allocations: 16 kB / 1.014 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.5348, allocations: 34.5 kB / 1.014 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.5348, allocations: 24 kB / 1.014 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5348, allocations: 0 / 1.014 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.956e-05/0.5349, allocations: 65.59 kB / 1.015 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5349, allocations: 8 kB / 1.015 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5349, allocations: 3.938 kB / 1.015 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5349, allocations: 0 / 1.015 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.535, allocations: 4 kB / 1.015 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.535, allocations: 4 kB / 1.015 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.5351, allocations: 16.05 kB / 1.015 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5351, allocations: 4 kB / 1.015 GB, free: 6.742 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.639e-05/0.5352, allocations: 111.1 kB / 1.015 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.5352, allocations: 3.906 kB / 1.015 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.5353, allocations: 12.38 kB / 1.015 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5353, allocations: 4 kB / 1.015 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5353, allocations: 3.906 kB / 1.015 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5353, allocations: 0 / 1.015 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.5354, allocations: 162.1 kB / 1.015 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.5354, allocations: 0 / 1.015 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-06/0.5354, allocations: 3.938 kB / 1.015 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5355, allocations: 0 / 1.015 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.5355, allocations: 0 / 1.015 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.5355, allocations: 0 / 1.015 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5355, allocations: 4 kB / 1.015 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001073/0.5356, allocations: 93.56 kB / 1.015 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.5357, allocations: 85.02 kB / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.5357, allocations: 3.984 kB / 1.015 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.5358, allocations: 15.98 kB / 1.015 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.5358, allocations: 11.98 kB / 1.015 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5359, allocations: 0 / 1.015 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.164e-05/0.5359, allocations: 95.17 kB / 1.015 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001828/0.5361, allocations: 8 kB / 1.015 GB, free: 6.059 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001045/0.5362, allocations: 103.2 kB / 1.015 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.5363, allocations: 39.98 kB / 1.015 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.5363, allocations: 0 / 1.015 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.5364, allocations: 23.94 kB / 1.015 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.5366, allocations: 20.23 kB / 1.015 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.5368, allocations: 92.83 kB / 1.015 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.537, allocations: 0.6958 MB / 1.016 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.537, allocations: 0 / 1.016 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of Templates: time 0.00268/0.5397, allocations: 0.8346 MB / 1.017 GB, free: 4.203 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches