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.Edge.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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [: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.309/1.309, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001062/0.001062, allocations: 173.3 kB / 316 MB, free: 3.543 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.514/1.514, allocations: 205.2 MB / 0.5667 GB, free: 15.73 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.0009635/0.0009635, allocations: 84.12 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.748e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6421/0.8415, allocations: 132.1 MB / 1.014 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.8417, allocations: 66.34 kB / 1.014 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002526/0.8443, allocations: 0.6603 MB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.8443, allocations: 4 kB / 1.014 GB, free: 6.031 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004681/0.8448, allocations: 372.9 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8448, allocations: 8.781 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.8449, allocations: 11.89 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.8451, allocations: 167 kB / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.8451, allocations: 0 / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.8451, allocations: 7.938 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.71e-05/0.8452, allocations: 19.81 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.8453, allocations: 52.61 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8453, allocations: 4 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.8453, allocations: 3.562 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8454, allocations: 0 / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.8458, allocations: 278.7 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.846, allocations: 42.02 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.846, allocations: 16.67 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.846, allocations: 3.906 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.138e-05/0.8461, allocations: 62.78 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.8461, allocations: 0 / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000182/0.8463, allocations: 74.41 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.8463, allocations: 55.39 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.8464, allocations: 104.2 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.8465, allocations: 25.7 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.8465, allocations: 95.56 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.8465, allocations: 11.81 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.8466, allocations: 0 / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8467, allocations: 318.7 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.8467, allocations: 18.69 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.8468, allocations: 42.38 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.8469, allocations: 11.62 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8469, allocations: 3.906 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001246/0.847, allocations: 82.23 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.847, allocations: 14.66 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.847, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.8471, allocations: 4.562 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.8472, allocations: 15.98 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.8472, allocations: 3.938 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.8473, allocations: 19.98 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.8473, allocations: 7.25 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.638e-05/0.8474, allocations: 105 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.8474, allocations: 7.844 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.8474, allocations: 11.69 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8475, allocations: 3.938 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8475, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8475, allocations: 7.906 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.8478, allocations: 305.4 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8478, allocations: 4.484 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.8478, allocations: 11.98 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8479, allocations: 3.906 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.8479, allocations: 3.75 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8479, allocations: 8.062 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8479, allocations: 0 / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001351/0.848, allocations: 158.3 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.8481, allocations: 89 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.8481, allocations: 0 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.8482, allocations: 19.98 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.8483, allocations: 11.92 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.8483, allocations: 0 / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.753e-05/0.8484, allocations: 90.66 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002243/0.8486, allocations: 15.94 kB / 1.017 GB, free: 3.125 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: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * 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.0001315/0.8487, allocations: 99.23 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.8489, allocations: 46.44 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8489, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.8489, allocations: 23.17 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.8492, allocations: 11.89 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.8495, allocations: 102.5 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.8498, allocations: 0.7037 MB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of SimCode: time 3.21e-07/0.8498, allocations: 4 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of Templates: time 0.00283/0.8526, allocations: 0.8191 MB / 1.019 GB, free: 1.309 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches