Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 104.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 183 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.46/2.46, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7624, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001991/0.7645, allocations: 0.6611 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.7654, allocations: 0.8078 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.7655, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.7655, allocations: 4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.086e-05/0.7656, allocations: 3.938 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.7658, allocations: 15.97 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.7658, allocations: 19.94 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.7659, allocations: 11.98 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.766, allocations: 7.938 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.7661, allocations: 7.984 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.7661, allocations: 4 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.7661, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.7661, allocations: 12 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.7661, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.381e-05/0.7662, allocations: 27.88 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7662, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7662, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7663, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 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.0004717/0.7667, allocations: 343.2 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.7668, allocations: 8.031 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.7668, allocations: 4.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.767, allocations: 164.4 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.767, allocations: 4.375 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.767, allocations: 384 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.7672, allocations: 50.23 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.7672, allocations: 192 / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.7672, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7672, allocations: 4 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.7674, allocations: 31.95 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.7677, allocations: 248.9 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.7678, allocations: 42.5 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.7679, allocations: 24.89 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.768, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.768, allocations: 38.56 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.768, allocations: 3.938 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.7683, allocations: 89.42 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.7684, allocations: 51.41 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.7685, allocations: 101.8 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.7685, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.7685, allocations: 92.25 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.7685, allocations: 7.906 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.7686, allocations: 13.72 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7687, allocations: 310.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.7688, allocations: 15.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.7689, allocations: 15.97 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.769, allocations: 40.89 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.769, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.7692, allocations: 77.53 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7692, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7693, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7693, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.7694, allocations: 16.02 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7694, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.7694, allocations: 4 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.7694, allocations: 0 / 1.212 GB, free: 9.996 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/0.7695, allocations: 113.8 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.7696, allocations: 3.984 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.7698, allocations: 76.72 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7698, allocations: 4 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7698, allocations: 4 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.7698, allocations: 0 / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.77, allocations: 157.6 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.77, allocations: 0 / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.7701, allocations: 7.984 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7701, allocations: 4 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.7701, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7701, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7701, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.7703, allocations: 171.4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.7704, allocations: 78.94 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.7704, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.7705, allocations: 11.92 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.7705, allocations: 3.938 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.7705, allocations: 8.031 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.7706, allocations: 83.27 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7706, allocations: 4 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002079/0.7708, allocations: 3.938 kB / 1.212 GB, free: 9.176 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/0.7709, allocations: 99.25 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.7711, allocations: 35.95 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7711, allocations: 4.062 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.7712, allocations: 19.98 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.7715, allocations: 7.938 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.7718, allocations: 135.7 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.772, allocations: 0.6768 MB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.7721, allocations: 11.44 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.7721, allocations: 4.062 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of Templates: time 0.001699/0.7738, allocations: 0.5317 MB / 1.214 GB, free: 7.586 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches