Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.788/1.788, allocations: 387.2 MB / 394.5 MB, free: 13.73 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.0009873/0.0009872, allocations: 181.3 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.132/1.132, allocations: 221.3 MB / 0.7819 GB, free: 1.301 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.0008463/0.0008464, allocations: 95.25 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.087e-05, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1846, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.6932, allocations: 148 MB / 1.35 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.6934, allocations: 70.08 kB / 1.35 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001584/0.695, allocations: 372.8 kB / 1.35 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.6951, allocations: 1.094 kB / 1.35 GB, free: 15.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002795/0.6954, allocations: 336.5 kB / 1.351 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6954, allocations: 9.094 kB / 1.351 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.6955, allocations: 8.859 kB / 1.351 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.6955, allocations: 163.2 kB / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.6956, allocations: 0 / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.6956, allocations: 1.219 kB / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.324e-05/0.6956, allocations: 14.19 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.791e-05/0.6957, allocations: 35.73 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6957, allocations: 1.734 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.6957, allocations: 3.906 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6958, allocations: 0.9688 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.6961, allocations: 247.7 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.84e-05/0.6961, allocations: 29.5 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.6962, allocations: 12.02 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.6962, allocations: 1.219 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.6962, allocations: 34.47 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6962, allocations: 1.562 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.6964, allocations: 43.55 kB / 1.351 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.625e-05/0.6964, allocations: 51.41 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.6965, allocations: 94.52 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.6965, allocations: 25.7 kB / 1.351 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/0.6965, allocations: 81.64 kB / 1.351 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.6965, allocations: 6.203 kB / 1.351 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.6965, allocations: 0 / 1.351 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.6966, allocations: 316 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.6966, allocations: 6.656 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.6966, allocations: 6.156 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.6966, allocations: 9.219 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6966, allocations: 5.578 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.565e-05/0.6967, allocations: 43.78 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6967, allocations: 4.375 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6967, allocations: 0 / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6967, allocations: 1.062 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.6969, allocations: 17.45 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6969, allocations: 0 / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.6969, allocations: 9.562 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.6969, allocations: 1.25 kB / 1.352 GB, free: 14.31 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: 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 4.211e-05/0.697, allocations: 109 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.697, allocations: 8.438 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-05/0.6971, allocations: 49.64 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6971, allocations: 1.094 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6971, allocations: 0 / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6972, allocations: 0.9062 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.477e-05/0.6973, allocations: 138.7 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6973, allocations: 1 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.6973, allocations: 16.12 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6973, allocations: 1.281 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.6974, allocations: 0 / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6974, allocations: 0 / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6974, allocations: 1.312 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.894e-05/0.6975, allocations: 136.1 kB / 1.352 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.6975, allocations: 77.98 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.6975, allocations: 6.875 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.6976, allocations: 12.12 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.6976, allocations: 10.77 kB / 1.352 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.6976, allocations: 0 / 1.352 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.109e-05/0.6977, allocations: 84.86 kB / 1.352 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001965/0.6979, allocations: 6.156 kB / 1.352 GB, free: 13.68 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: 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.0001105/0.698, allocations: 103.5 kB / 1.352 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.6981, allocations: 11.88 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6981, allocations: 0 / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.6981, allocations: 9.25 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.6983, allocations: 4.188 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.6985, allocations: 56.09 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.6986, allocations: 0.6949 MB / 1.353 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of SimCode: time 2.81e-07/0.6986, allocations: 0 / 1.353 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of Templates: time 0.002032/0.7006, allocations: 396.8 kB / 1.354 GB, free: 12.77 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches