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.Tan.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.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") [: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.314/1.314, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.00109/0.00109, allocations: 172.5 kB / 316 MB, free: 3.555 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.521/1.521, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.001277/0.001277, allocations: 93.14 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.052e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2277, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6295/0.8572, allocations: 131.7 MB / 1.013 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.8575, allocations: 72.61 kB / 1.013 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001644/0.8591, allocations: 389.7 kB / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.8592, allocations: 0 / 1.014 GB, free: 6.629 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.0003266/0.8595, allocations: 338.6 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.8595, allocations: 8.031 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.8596, allocations: 4 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.8597, allocations: 166.9 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.8597, allocations: 0 / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.8597, allocations: 4 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.741e-05/0.8598, allocations: 7.75 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.348e-05/0.8599, allocations: 37.69 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8599, allocations: 0 / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.8599, allocations: 0 / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8599, allocations: 0 / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.8602, allocations: 228.5 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.8603, allocations: 30.33 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.8603, allocations: 16.36 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.8603, allocations: 0 / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.8603, allocations: 30.56 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8604, allocations: 0 / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001397/0.8605, allocations: 41.12 kB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.8605, allocations: 51.41 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.8606, allocations: 98.7 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.8607, allocations: 29.73 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.8607, allocations: 84.14 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.8607, allocations: 7.891 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.8607, allocations: 0 / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8609, allocations: 314.4 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.8609, allocations: 4 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.8609, allocations: 7.25 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.471e-05/0.8609, allocations: 4 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8609, allocations: 0 / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.566e-05/0.861, allocations: 45.2 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.861, allocations: 4 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.861, allocations: 3.984 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.861, allocations: 0 / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.8611, allocations: 8 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.8612, allocations: 3.906 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.971e-05/0.8612, allocations: 16.02 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.8612, allocations: 0 / 1.015 GB, free: 4.91 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 5.94e-05/0.8613, allocations: 105 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.8613, allocations: 5.625 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.8614, allocations: 58.67 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8615, allocations: 3.984 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.8615, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8615, allocations: 4.031 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.8616, allocations: 141.8 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8616, allocations: 3.938 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.8617, allocations: 12 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8617, allocations: 0 / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.8617, allocations: 0 / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8617, allocations: 3.984 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8617, allocations: 3.906 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.203e-05/0.8618, allocations: 135.3 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.8619, allocations: 81.89 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.8619, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.862, allocations: 15.23 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.862, allocations: 7.969 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.862, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.146e-05/0.8621, allocations: 83.27 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002292/0.8623, allocations: 4 kB / 1.016 GB, free: 4.191 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.0001022/0.8624, allocations: 99.25 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.8625, allocations: 11.38 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8625, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.8625, allocations: 7.812 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.8627, allocations: 4.125 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.8629, allocations: 66.91 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.8631, allocations: 0.688 MB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.8631, allocations: 0 / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of Templates: time 0.00196/0.8651, allocations: 400.6 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches