Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001137/0.001137, allocations: 104.6 kB / 16.41 MB, free: 6.473 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.001203/0.001203, allocations: 185.7 kB / 17.34 MB, free: 5.715 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.324/2.324, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6728, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001692/0.6745, allocations: 0.6617 MB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.6754, allocations: 0.8117 MB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.6754, allocations: 0 / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.6754, allocations: 0 / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.6755, allocations: 7.938 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.6756, allocations: 11.98 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.6757, allocations: 19.92 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.6758, allocations: 12 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.6758, allocations: 11.92 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.6759, allocations: 11.98 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.6759, allocations: 0 / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.6759, allocations: 4 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.6759, allocations: 7.984 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.676, allocations: 7.938 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.914e-05/0.676, allocations: 31.84 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6761, allocations: 0 / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6761, allocations: 0 / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.6761, allocations: 0 / 1.169 GB, free: 2.195 MB / 0.8887 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.0003927/0.6765, allocations: 335 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.6765, allocations: 8.922 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.6765, allocations: 12.92 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.6766, allocations: 169.3 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.6767, allocations: 4.375 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.6767, allocations: 4.375 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.6768, allocations: 46.25 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6768, allocations: 4.172 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.6769, allocations: 3.938 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6769, allocations: 0 / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.677, allocations: 31.91 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.6773, allocations: 248.9 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6774, allocations: 50.53 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.6775, allocations: 27.28 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.6776, allocations: 3.984 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.6776, allocations: 34.56 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6776, allocations: 0 / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003006/0.6779, allocations: 81.58 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.6779, allocations: 55.34 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.678, allocations: 105.8 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.678, allocations: 25.7 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.6781, allocations: 88.27 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.6781, allocations: 3.953 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.6781, allocations: 13.72 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.6782, allocations: 314.8 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.6783, allocations: 15.98 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.6784, allocations: 15.98 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.6785, allocations: 44.83 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6785, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001664/0.6787, allocations: 73.55 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.6787, allocations: 4 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.6787, allocations: 4 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.6787, allocations: 0 / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.6788, allocations: 7.984 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.6788, allocations: 4.031 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.6789, allocations: 7.984 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.6789, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 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 5.771e-05/0.6789, allocations: 113.8 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.679, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.6792, allocations: 76.72 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6792, allocations: 4.031 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6792, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6792, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.6794, allocations: 161.6 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6794, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.6794, allocations: 11.98 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.6794, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.6794, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6794, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6794, allocations: 4.188 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.6797, allocations: 171.4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.6797, allocations: 85.05 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.6797, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.6798, allocations: 7.984 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.6798, allocations: 7.938 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.6798, allocations: 3.938 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.6799, allocations: 87.31 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6799, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002041/0.6801, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 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.0001168/0.6802, allocations: 101.2 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.6804, allocations: 35.97 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6804, allocations: 4.062 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.6805, allocations: 23.92 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.6808, allocations: 7.922 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.681, allocations: 129.6 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.6812, allocations: 0.6729 MB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.6813, allocations: 7.438 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.6813, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.001582/0.6829, allocations: 0.5454 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches