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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009946/0.009946, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.00227/0.002269, allocations: 196.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.787/2.787, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 4.566/4.566, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003052/0.003052, allocations: 68.12 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526/1.529, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002956/1.532, allocations: 0.6713 MB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001638/1.534, allocations: 0.8118 MB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/1.534, allocations: 0 / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/1.534, allocations: 3.938 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.632e-05/1.534, allocations: 0 / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/1.535, allocations: 8 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.942e-05/1.535, allocations: 23.92 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/1.535, allocations: 15.98 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/1.535, allocations: 11.94 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/1.535, allocations: 3.984 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/1.535, allocations: 4 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/1.535, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/1.535, allocations: 15.92 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/1.535, allocations: 7.938 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/1.535, allocations: 19.91 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.535, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.174e-06/1.535, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.535, allocations: 4 kB / 1.168 GB, free: 2.148 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.0007539/1.536, allocations: 339.2 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/1.536, allocations: 12.02 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/1.536, allocations: 30.75 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/1.536, allocations: 4.938 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/1.537, allocations: 168.3 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.537, allocations: 384 / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/1.537, allocations: 4.375 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/1.537, allocations: 54.22 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/1.537, allocations: 3.938 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.537, allocations: 4 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.537, allocations: 0 / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/1.537, allocations: 39.83 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/1.538, allocations: 241 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/1.538, allocations: 50.44 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/1.538, allocations: 31.33 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/1.538, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/1.538, allocations: 34.5 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.538, allocations: 0 / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0005699/1.539, allocations: 85.64 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/1.539, allocations: 51.41 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.539, allocations: 97.86 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.539, allocations: 29.7 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/1.539, allocations: 80.14 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/1.539, allocations: 7.938 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/1.539, allocations: 21.84 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.54, allocations: 310.8 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/1.54, allocations: 11.98 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/1.54, allocations: 23.97 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/1.54, allocations: 36.77 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.54, allocations: 8 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003249/1.54, allocations: 69.61 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.54, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.541, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.541, allocations: 4 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/1.541, allocations: 7.984 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.541, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/1.541, allocations: 4.031 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/1.541, allocations: 8 kB / 1.17 GB, free: 80 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 0.0001698/1.541, allocations: 120 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/1.541, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/1.541, allocations: 72.7 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.541, allocations: 4 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.541, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.541, allocations: 4.031 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/1.542, allocations: 161.6 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.542, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.542, allocations: 15.98 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.542, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/1.542, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/1.542, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.542, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/1.542, allocations: 167.4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/1.542, allocations: 81.06 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/1.542, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/1.543, allocations: 11.98 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/1.543, allocations: 7.938 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/1.543, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.069e-05/1.543, allocations: 83.45 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/1.543, allocations: 32 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004519/1.543, allocations: 8 kB / 1.17 GB, free: 15.25 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.00104/1.544, allocations: 0.689 MB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003707/1.545, allocations: 47.92 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.545, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/1.545, allocations: 15.98 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/1.545, allocations: 6.797 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/1.546, allocations: 135.6 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/1.547, allocations: 0.6808 MB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.92e-05/1.547, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/1.547, allocations: 11.44 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of SimCode: time 6.11e-07/1.547, allocations: 3.938 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/1.605, allocations: 1.268 MB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.99, allocations: 4.656 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv","/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