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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001319/0.001319, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6601, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002236/0.6624, allocations: 0.7419 MB / 1.018 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.6634, allocations: 0.8118 MB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.6635, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.6635, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.6636, allocations: 3.938 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.6638, allocations: 8 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.6639, allocations: 19.92 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.664, allocations: 8 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.664, allocations: 19.91 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.6641, allocations: 8 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.6641, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.6641, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.6641, allocations: 7.922 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.6642, allocations: 8 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.95e-05/0.6642, allocations: 15.97 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6643, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.118e-06/0.6643, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.6643, allocations: 3.938 kB / 1.019 GB, free: 1.145 MB / 0.7637 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.0004684/0.6647, allocations: 337.5 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6648, allocations: 12.03 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.6648, allocations: 0.9375 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.665, allocations: 164.3 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.665, allocations: 4.375 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.665, allocations: 4.375 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.6652, allocations: 50.17 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6652, allocations: 192 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6652, allocations: 11.94 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6652, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.6654, allocations: 35.95 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.6658, allocations: 240.9 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.6659, allocations: 54.45 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.666, allocations: 20.84 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.666, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.6661, allocations: 34.56 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.6661, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003752/0.6665, allocations: 81.81 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6665, allocations: 55.41 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.6666, allocations: 101.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.6666, allocations: 25.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.6667, allocations: 87.98 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.6667, allocations: 3.906 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.6667, allocations: 21.66 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6668, allocations: 310.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.6669, allocations: 28 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.667, allocations: 11.98 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.6672, allocations: 36.83 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6672, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.6674, allocations: 69.66 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6674, allocations: 8 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6674, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6674, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.6675, allocations: 11.98 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6675, allocations: 3.938 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.6676, allocations: 15.83 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.6676, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 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 9.604e-05/0.6677, allocations: 114.3 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.6677, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.668, allocations: 72.78 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.668, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.668, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.668, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.6682, allocations: 161.6 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6682, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.6682, allocations: 12.03 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6682, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.6683, allocations: 3.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.6683, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6683, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.6685, allocations: 163.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.6686, allocations: 81.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.6686, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.6687, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.6687, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.6687, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.6688, allocations: 79.28 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6688, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002138/0.669, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 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.0001348/0.6692, allocations: 99.25 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.6694, allocations: 43.89 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6694, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.932e-05/0.6695, allocations: 15.98 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.6698, allocations: 9.188 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.6701, allocations: 145.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6704, allocations: 0.677 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.6704, allocations: 7.438 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.6704, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.001906/0.6723, allocations: 0.5293 MB / 1.023 GB, free: 12.72 MB / 0.7794 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