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.Atan.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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") [: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.336/1.336, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.001133/0.001133, allocations: 181.1 kB / 316 MB, free: 3.551 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.629/1.629, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.001136/0.001135, allocations: 87.5 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.083e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2077, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5842/0.792, allocations: 131.6 MB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.7923, allocations: 74.58 kB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001655/0.794, allocations: 375.5 kB / 1.014 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.794, allocations: 0 / 1.014 GB, free: 6.938 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.0003391/0.7943, allocations: 346.6 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7944, allocations: 8.031 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.7944, allocations: 0 / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.7945, allocations: 174.9 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.7945, allocations: 0 / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.7946, allocations: 0 / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.062e-05/0.7946, allocations: 11.44 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.811e-05/0.7947, allocations: 33.69 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.7947, allocations: 4 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.7947, allocations: 0 / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7948, allocations: 0 / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.7952, allocations: 259.9 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.7952, allocations: 22.58 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.7952, allocations: 11.73 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.7953, allocations: 0 / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.7953, allocations: 34.59 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.7953, allocations: 0 / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.7955, allocations: 37.08 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.7955, allocations: 55.44 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/0.7956, allocations: 98.89 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.7956, allocations: 29.64 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.7956, allocations: 84.14 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.7956, allocations: 11.2 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7957, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.7958, allocations: 310.8 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.7958, allocations: 6.875 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.7958, allocations: 8 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.7958, allocations: 3.375 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7958, allocations: 0 / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.635e-05/0.7959, allocations: 44.81 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.7959, allocations: 4 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7959, allocations: 0 / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.7959, allocations: 0 / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.796, allocations: 12.09 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.796, allocations: 7.906 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.7961, allocations: 7.984 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.7961, allocations: 0 / 1.015 GB, free: 5.188 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.847e-05/0.7962, allocations: 105 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.7962, allocations: 3.938 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.7963, allocations: 56.3 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.7963, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7964, allocations: 1.062 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7964, allocations: 4 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.7965, allocations: 134.1 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7965, allocations: 7.938 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.7966, allocations: 11.94 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.7966, allocations: 4.031 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.7966, allocations: 3.984 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7966, allocations: 1.5 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7966, allocations: 3.906 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001038/0.7967, allocations: 138.4 kB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.7968, allocations: 81.02 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.7968, allocations: 3.984 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.7969, allocations: 12.03 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.7969, allocations: 3.984 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.7969, allocations: 0 / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.024e-05/0.797, allocations: 83.45 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002191/0.7972, allocations: 4 kB / 1.016 GB, free: 4.473 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.0001728/0.7974, allocations: 102.3 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.007e-05/0.7975, allocations: 15.94 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7975, allocations: 0 / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.7975, allocations: 4 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.7977, allocations: 4 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.7979, allocations: 63.47 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.7982, allocations: 0.688 MB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of SimCode: time 2.91e-07/0.7982, allocations: 0 / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of Templates: time 0.001955/0.8001, allocations: 407.6 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches