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.Atan2.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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") [: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.358/1.358, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001043/0.001043, allocations: 177.2 kB / 316 MB, free: 3.539 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.558/1.558, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.001089/0.001089, allocations: 94.2 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.502e-05, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5848/0.7913, allocations: 131.7 MB / 1.013 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.7916, allocations: 74.11 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002527/0.7942, allocations: 0.6278 MB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7942, allocations: 0 / 1.014 GB, free: 6.348 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.0004521/0.7946, allocations: 369.7 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7947, allocations: 12.03 kB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.7947, allocations: 3.906 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.7949, allocations: 163.1 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.7949, allocations: 0 / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.7949, allocations: 4 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.117e-05/0.795, allocations: 18.88 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.7951, allocations: 48.84 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7951, allocations: 0 / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.7952, allocations: 0 / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.7952, allocations: 0 / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.7957, allocations: 286.5 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.7958, allocations: 32.38 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.7958, allocations: 20.05 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.7959, allocations: 0 / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.7959, allocations: 31.31 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7959, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001891/0.7961, allocations: 49.58 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.7962, allocations: 66.12 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.7963, allocations: 99.44 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.7963, allocations: 25.7 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.7963, allocations: 80.14 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.7964, allocations: 15.33 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.7964, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7965, allocations: 314.8 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.7965, allocations: 7.812 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.7966, allocations: 7.688 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.7966, allocations: 11.27 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7966, allocations: 3.906 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.205e-05/0.7967, allocations: 59.86 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7967, allocations: 6.656 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7968, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7968, allocations: 0.75 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.7969, allocations: 27.97 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.797, allocations: 4 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.7971, allocations: 22.08 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.7971, allocations: 0 / 1.016 GB, free: 4.473 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 (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 8.65e-05/0.7972, allocations: 105 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.7972, allocations: 7.906 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.7974, allocations: 59.67 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7974, allocations: 3.938 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7975, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7975, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.7976, allocations: 153 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7976, allocations: 0 / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.7978, allocations: 27.92 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7978, allocations: 4 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.7978, allocations: 3.906 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7978, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7978, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000129/0.7979, allocations: 150.3 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.798, allocations: 81.09 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.798, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.7982, allocations: 19.98 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.7982, allocations: 8 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.7982, allocations: 3.906 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.132e-05/0.7983, allocations: 94.14 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002058/0.7985, allocations: 4 kB / 1.016 GB, free: 3.703 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 (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.0001495/0.7986, allocations: 99.25 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.7987, allocations: 22.94 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7987, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.7988, allocations: 15.88 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.799, allocations: 8.531 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.7992, allocations: 70.2 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.7995, allocations: 0.6954 MB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.7995, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of Templates: time 0.002405/0.802, allocations: 0.6227 MB / 1.018 GB, free: 2.152 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches