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.001824/0.001823, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002189/0.002189, allocations: 201.3 kB / 16.14 MB, free: 6.02 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.566/1.566, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.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.773/2.773, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8484, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.0028/0.8513, allocations: 0.72 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.8527, allocations: 0.8157 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.8528, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/0.8528, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.8529, allocations: 3.938 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.8531, allocations: 11.98 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.228e-05/0.8532, allocations: 27.86 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.8534, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.8535, allocations: 7.984 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.8535, allocations: 11.94 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.8535, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.8536, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.8536, allocations: 7.984 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.8536, allocations: 7.938 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.8537, allocations: 23.95 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8537, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8538, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.8538, allocations: 0 / 1.018 GB, free: 1.121 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.0006481/0.8544, allocations: 341.4 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.8545, allocations: 8.031 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.8545, allocations: 4.938 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.8548, allocations: 172.3 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.8548, allocations: 8.297 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.8548, allocations: 4.312 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.855, allocations: 46.25 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8551, allocations: 192 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.8551, allocations: 3.938 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8551, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.8553, allocations: 39.95 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.8556, allocations: 240.9 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.8558, allocations: 46.47 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.8559, allocations: 24.91 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.8559, allocations: 4 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.8559, allocations: 30.56 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.8559, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.8563, allocations: 81.64 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.8564, allocations: 55.34 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.8565, allocations: 102 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.8565, allocations: 29.7 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.8566, allocations: 88.08 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.8566, allocations: 3.906 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.8566, allocations: 9.719 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.8568, allocations: 318.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.8569, allocations: 15.97 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.857, allocations: 19.98 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.8571, allocations: 36.83 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8572, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.8574, allocations: 73.53 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.8574, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8574, allocations: 4.094 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8574, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.8575, allocations: 11.98 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.8576, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.8576, allocations: 11.89 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.8576, allocations: 3.938 kB / 1.02 GB, free: 15.09 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 0.0001126/0.8577, allocations: 113.8 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.8578, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.858, allocations: 68.78 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.858, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.858, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.858, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.8583, allocations: 165.6 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.8583, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.8584, allocations: 7.938 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.8584, allocations: 4 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8584, allocations: 15.95 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8584, allocations: 4 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8584, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.8587, allocations: 159.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.8587, allocations: 77.3 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.8588, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.8588, allocations: 8.031 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.8589, allocations: 11.97 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.8589, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.692e-05/0.859, allocations: 79.28 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.859, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002124/0.8592, allocations: 4 kB / 1.021 GB, free: 14.28 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.0002138/0.8594, allocations: 103.7 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.8596, allocations: 39.95 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8597, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.8598, allocations: 19.98 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.8601, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.8605, allocations: 116.1 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.8608, allocations: 0.677 MB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.8609, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.8609, allocations: 7.438 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.8609, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.002935/0.8638, allocations: 367.8 kB / 1.022 GB, free: 12.89 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=400 -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/jenkins/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