Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.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.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") [: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.305/1.305, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001424/0.001424, allocations: 185.2 kB / 316 MB, free: 3.531 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.385/1.385, allocations: 205.1 MB / 0.5667 GB, free: 15.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.0009286/0.0009284, allocations: 82.22 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.087e-05/1.091e-05, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6941/0.9239, allocations: 131.7 MB / 1.013 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.9242, allocations: 74.83 kB / 1.013 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002303/0.9265, allocations: 0.5652 MB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9265, allocations: 0 / 1.014 GB, free: 6.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004549/0.927, allocations: 365.4 kB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.927, allocations: 8.031 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.9271, allocations: 11.89 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.9272, allocations: 159.1 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.9273, allocations: 8 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.9273, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.825e-05/0.9274, allocations: 19.66 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.9275, allocations: 42.38 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9275, allocations: 7.938 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.9275, allocations: 0 / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9275, allocations: 0 / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.9281, allocations: 287.7 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.9281, allocations: 25.7 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.9282, allocations: 15.11 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.9282, allocations: 0 / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.9282, allocations: 37.56 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.9282, allocations: 0 / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.9284, allocations: 55.12 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.9285, allocations: 55.41 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.9285, allocations: 103 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.9286, allocations: 25.7 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.9286, allocations: 90.88 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.9286, allocations: 7.906 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.9286, allocations: 0 / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9288, allocations: 314.3 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.9288, allocations: 7.375 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.9288, allocations: 7.312 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.9288, allocations: 11.98 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.9289, allocations: 0 / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.913e-05/0.9289, allocations: 47.86 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.929, allocations: 8 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.929, allocations: 3.938 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.929, allocations: 0 / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.9291, allocations: 27.97 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.9292, allocations: 0 / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.9293, allocations: 15.98 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.9293, allocations: 11 kB / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.119e-05/0.9293, allocations: 104.9 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.9294, allocations: 0 / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.9294, allocations: 11.94 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.9294, allocations: 3.906 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9294, allocations: 0 / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.9294, allocations: 3.984 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.9296, allocations: 144.4 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9296, allocations: 3.938 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.9297, allocations: 23.98 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9297, allocations: 192 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.9297, allocations: 0 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.9297, allocations: 0 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.9297, allocations: 0 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001216/0.9299, allocations: 162.1 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.9299, allocations: 81.02 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.9299, allocations: 0 / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.9301, allocations: 27.97 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.9301, allocations: 3.562 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.9301, allocations: 0 / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.255e-05/0.9302, allocations: 90.45 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001984/0.9304, allocations: 4 kB / 1.016 GB, free: 3.754 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: 1 (lesEqu.y) * Number of discrete states: 0 () * 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 0.0001434/0.9305, allocations: 99.25 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.9306, allocations: 18.88 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9306, allocations: 4 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.9307, allocations: 19.81 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.9309, allocations: 10.86 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.9311, allocations: 78.98 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.9315, allocations: 0.6915 MB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9315, allocations: 4 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of Templates: time 0.00248/0.934, allocations: 0.6512 MB / 1.018 GB, free: 2.164 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches