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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 185.2 kB / 326.5 MB, free: 2.227 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.685/1.685, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009777/0.0009777, allocations: 97.67 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 8.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.257, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4401, allocations: 131.4 MB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4404, allocations: 75.95 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001811/0.4422, allocations: 0.6726 MB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4422, allocations: 0 / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4422, allocations: 0 / 1.029 GB, free: 11.54 MB / 0.6823 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.0004521/0.4427, allocations: 343.3 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.4428, allocations: 16.02 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.4428, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.443, allocations: 167 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.443, allocations: 4 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.443, allocations: 3.984 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.4432, allocations: 57.67 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4432, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4433, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4433, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.4434, allocations: 51.89 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.4439, allocations: 268.8 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4441, allocations: 42.56 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4441, allocations: 4.062 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4441, allocations: 38.55 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4442, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003851/0.4445, allocations: 97.59 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4446, allocations: 55.39 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.4447, allocations: 93 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.4447, allocations: 29.7 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.4448, allocations: 80.14 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.4448, allocations: 8.031 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.4448, allocations: 3.938 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4449, allocations: 322.8 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.445, allocations: 19.98 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.4451, allocations: 19.98 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.4452, allocations: 24.05 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4452, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.4454, allocations: 81.59 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4454, allocations: 6.656 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4454, allocations: 4 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4455, allocations: 0 / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4456, allocations: 11.98 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4456, allocations: 0 / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.4457, allocations: 7.984 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.4457, allocations: 4 kB / 1.031 GB, free: 9.508 MB / 0.6823 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 8.801e-05/0.4458, allocations: 121.8 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.4458, allocations: 0 / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.446, allocations: 84.72 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.4461, allocations: 4.031 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4461, allocations: 0 / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4461, allocations: 4 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4462, allocations: 165.5 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4462, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.4463, allocations: 8 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4463, allocations: 0 / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4463, allocations: 0 / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4463, allocations: 3.984 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4463, allocations: 0 / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.4466, allocations: 171.5 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.4467, allocations: 81.09 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.4467, allocations: 8.031 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.4468, allocations: 11.94 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.4469, allocations: 3.984 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4469, allocations: 0 / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.4469, allocations: 83.45 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4469, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001938/0.4471, allocations: 4 kB / 1.032 GB, free: 8.668 MB / 0.6823 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.000174/0.4473, allocations: 103.2 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4475, allocations: 47.95 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4475, allocations: 0 / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.4476, allocations: 24.05 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4478, allocations: 11.89 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.4482, allocations: 116.5 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.4484, allocations: 0.6809 MB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.4485, allocations: 0 / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.4485, allocations: 11.5 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.4485, allocations: 0 / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of Templates: time 0.002226/0.4507, allocations: 349.8 kB / 1.033 GB, free: 7.281 MB / 0.6823 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