Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") [: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 9.1.1-maint.9.1.x/package.mo): time 1.774/1.774, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009143/0.0009143, allocations: 181.2 kB / 487 MB, free: 5.363 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.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 84.73 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.423e-06/6.442e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1749, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4789/0.6538, allocations: 148.2 MB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.654, allocations: 66.67 kB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002358/0.6564, allocations: 0.6664 MB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6564, allocations: 0 / 1.351 GB, free: 15.73 MB / 0.8073 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.000374/0.6568, allocations: 375.9 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6568, allocations: 10.91 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.6569, allocations: 10.34 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.264e-05/0.657, allocations: 170.7 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.657, allocations: 1.25 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.657, allocations: 1.281 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.803e-05/0.6571, allocations: 20.44 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.933e-05/0.6571, allocations: 53.14 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.6572, allocations: 0 / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.6572, allocations: 4 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6572, allocations: 1.531 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.6576, allocations: 275.8 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.6577, allocations: 46.44 kB / 1.352 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.6578, allocations: 16.45 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.6578, allocations: 5.016 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.05e-05/0.6578, allocations: 37.27 kB / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.6578, allocations: 0 / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001286/0.6579, allocations: 41.98 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.232e-05/0.6579, allocations: 52.44 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.658, allocations: 100.2 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.658, allocations: 26.83 kB / 1.352 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.8e-05/0.658, allocations: 96.2 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.6581, allocations: 5.438 kB / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.6581, allocations: 0 / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.764e-05/0.6581, allocations: 322.4 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.6581, allocations: 11.83 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.6582, allocations: 8.219 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.87e-05/0.6582, allocations: 8.312 kB / 1.352 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6582, allocations: 1.062 kB / 1.352 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.326e-05/0.6583, allocations: 54.59 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.6583, allocations: 4.312 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6583, allocations: 5.406 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.6583, allocations: 0 / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.6584, allocations: 16.27 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.6584, allocations: 1 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.6585, allocations: 25.98 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.6585, allocations: 0 / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 3.872e-05/0.6586, allocations: 110 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.6586, allocations: 2.062 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.6587, allocations: 54.02 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.6587, allocations: 1.641 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.6587, allocations: 5.281 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6587, allocations: 0.9844 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.147e-05/0.6588, allocations: 151.9 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.6588, allocations: 1.281 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.6589, allocations: 12.52 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.6589, allocations: 0 / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.6589, allocations: 0 / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6589, allocations: 1.5 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6589, allocations: 1.547 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.83e-05/0.659, allocations: 151.4 kB / 1.353 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.659, allocations: 86.45 kB / 1.353 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.6591, allocations: 1.594 kB / 1.353 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.6592, allocations: 25.64 kB / 1.353 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.6593, allocations: 7.453 kB / 1.353 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.6593, allocations: 1.5 kB / 1.353 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.022e-05/0.6593, allocations: 84.5 kB / 1.353 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001947/0.6595, allocations: 6.219 kB / 1.353 GB, free: 13.49 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 7.871e-05/0.6596, allocations: 103.1 kB / 1.353 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.6597, allocations: 22.45 kB / 1.353 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.6597, allocations: 4 kB / 1.353 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.6597, allocations: 16.22 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.6599, allocations: 10.38 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/0.66, allocations: 68.02 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.6603, allocations: 0.6978 MB / 1.354 GB, free: 28.62 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/0.6603, allocations: 0 / 1.354 GB, free: 28.62 MB / 0.823 GB Notification: Performance of Templates: time 0.002097/0.6624, allocations: 0.6305 MB / 1.355 GB, free: 28.57 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches