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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.635/2.635, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001271/0.001271, allocations: 173.2 kB / 498.1 MB, free: 5.691 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.514/1.514, allocations: 223.2 MB / 0.7949 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 90.39 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 10.75 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.5011, allocations: 148.8 MB / 1.368 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5014, allocations: 71.95 kB / 1.368 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001801/0.5033, allocations: 0.6674 MB / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5033, allocations: 0 / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.5033, allocations: 4 kB / 1.369 GB, free: 12.46 MB / 0.8698 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.0004223/0.5037, allocations: 340.1 kB / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.5038, allocations: 8.031 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.5038, allocations: 4 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.5039, allocations: 163 kB / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.504, allocations: 0 / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.504, allocations: 0 / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.5042, allocations: 64.34 kB / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5042, allocations: 3.938 kB / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.5042, allocations: 4 kB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5042, allocations: 0 / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.5044, allocations: 47.95 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.5048, allocations: 260.9 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.5049, allocations: 50.53 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.505, allocations: 0 / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.505, allocations: 30.56 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.505, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003973/0.5054, allocations: 105.7 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.5055, allocations: 51.41 kB / 1.37 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.5055, allocations: 93 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.5056, allocations: 25.7 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.5056, allocations: 84.17 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.5056, allocations: 15.92 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.5056, allocations: 0 / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5058, allocations: 318.8 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.5059, allocations: 19.92 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.5059, allocations: 27.98 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.506, allocations: 27.91 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.506, allocations: 0 / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.5062, allocations: 77.64 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5063, allocations: 4 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5063, allocations: 0 / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5063, allocations: 0 / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.5064, allocations: 15.98 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5064, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.5065, allocations: 15.98 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.5065, allocations: 4.031 kB / 1.371 GB, free: 10.43 MB / 0.8698 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 () * Number of clocked 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 6.966e-05/0.5066, allocations: 113.8 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.5066, allocations: 0 / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.5068, allocations: 88.72 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5068, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5068, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5069, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.507, allocations: 165.6 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.507, allocations: 0 / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.5071, allocations: 11.98 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5071, allocations: 4 kB / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.5071, allocations: 0 / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5071, allocations: 0 / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5071, allocations: 4.031 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.5074, allocations: 179.3 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.5074, allocations: 81.02 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.5075, allocations: 8.031 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.5075, allocations: 7.984 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.5076, allocations: 4 kB / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.5076, allocations: 0 / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.5076, allocations: 79.28 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5076, allocations: 0 / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001925/0.5078, allocations: 0 / 1.371 GB, free: 9.594 MB / 0.8698 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 () * Number of clocked 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.0001442/0.508, allocations: 115 kB / 1.372 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.5082, allocations: 43.97 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5082, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.5083, allocations: 27.98 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.5085, allocations: 11.88 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.5088, allocations: 104.7 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.509, allocations: 0.677 MB / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.5091, allocations: 4 kB / 1.372 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.5091, allocations: 15.48 kB / 1.372 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5091, allocations: 0 / 1.372 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of Templates: time 0.00197/0.5111, allocations: 342.4 kB / 1.373 GB, free: 8.203 MB / 0.8698 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