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.Sin.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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") [: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.311/1.311, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.001064/0.001064, allocations: 184.3 kB / 316 MB, free: 3.586 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.327/1.327, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.001049/0.001049, allocations: 87.39 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.809e-06/9.839e-06, allocations: 8 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6545/0.8738, allocations: 131.7 MB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.8741, allocations: 73.27 kB / 1.013 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001762/0.8759, allocations: 378 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.8759, allocations: 0 / 1.014 GB, free: 6.652 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003563/0.8763, allocations: 338.5 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.8763, allocations: 12.03 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.8764, allocations: 0.75 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.8765, allocations: 163 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.8765, allocations: 0 / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.8765, allocations: 7.125 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.386e-05/0.8766, allocations: 11.31 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.364e-05/0.8767, allocations: 37.69 kB / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8767, allocations: 3.984 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.8767, allocations: 4 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8768, allocations: 3.938 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.8771, allocations: 231.2 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.8771, allocations: 21.7 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.8772, allocations: 16.86 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.8772, allocations: 4.031 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.8772, allocations: 34.12 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.8772, allocations: 0 / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.8774, allocations: 33.7 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.8775, allocations: 57.22 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.8775, allocations: 92.91 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.8776, allocations: 29.73 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.8776, allocations: 91.81 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.8776, allocations: 3.906 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8776, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8778, allocations: 310.8 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.8778, allocations: 6.875 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.8778, allocations: 4 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.791e-05/0.8778, allocations: 7.688 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8778, allocations: 0 / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.669e-05/0.8779, allocations: 48.88 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.8779, allocations: 4 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8779, allocations: 0 / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.878, allocations: 0 / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.8781, allocations: 12 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8781, allocations: 11.88 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.8782, allocations: 8.031 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.8782, allocations: 4 kB / 1.015 GB, free: 4.918 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.389e-05/0.8783, allocations: 101 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.8783, allocations: 0 / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.8784, allocations: 55.92 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.8784, allocations: 0 / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8784, allocations: 4 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8784, allocations: 7.969 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.8786, allocations: 137.4 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.8786, allocations: 0 / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.8787, allocations: 11.98 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8787, allocations: 0 / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.8787, allocations: 0 / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8787, allocations: 3.438 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8787, allocations: 3.906 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.697e-05/0.8788, allocations: 138.1 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.8788, allocations: 85 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.8789, allocations: 3.938 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.879, allocations: 8 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.879, allocations: 8.016 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.879, allocations: 4 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.511e-05/0.8791, allocations: 82.09 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001981/0.8793, allocations: 4 kB / 1.016 GB, free: 4.211 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001376/0.8794, allocations: 99.25 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.8795, allocations: 11.44 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.8795, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.8795, allocations: 7.312 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.8797, allocations: 8.125 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.88, allocations: 62.89 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.8803, allocations: 0.6918 MB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.8803, allocations: 4 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of Templates: time 0.002189/0.8825, allocations: 397.1 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches