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.001205/0.001205, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.0012/0.0012, allocations: 193.3 kB / 16.25 MB, free: 6.633 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.325/2.325, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.91 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4729, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001619/0.4746, allocations: 0.7396 MB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.4753, allocations: 0.804 MB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.4753, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.4753, allocations: 3.938 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.4754, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.4755, allocations: 11.98 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.4756, allocations: 23.94 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.321e-05/0.4756, allocations: 7.984 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.4757, allocations: 7.938 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.4757, allocations: 11.98 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4757, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.4758, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.4758, allocations: 7.922 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.4758, allocations: 8 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.783e-05/0.4759, allocations: 27.89 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.4759, allocations: 4 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4759, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.4759, allocations: 0 / 1.019 GB, free: 1.027 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.0003399/0.4762, allocations: 337.7 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.4763, allocations: 11.97 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.4763, allocations: 30.75 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.666e-05/0.4763, allocations: 0.9375 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.4764, allocations: 176.2 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4764, allocations: 8.359 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-06/0.4764, allocations: 384 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4766, allocations: 50.23 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.4766, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.4766, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.4766, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4768, allocations: 35.95 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.477, allocations: 245 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4771, allocations: 50.36 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.4772, allocations: 20.91 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.4772, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.4773, allocations: 38.56 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4773, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002828/0.4776, allocations: 81.58 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.4776, allocations: 51.41 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.4777, allocations: 101.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.4777, allocations: 25.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.4777, allocations: 88.2 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.4777, allocations: 11.91 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.4778, allocations: 13.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.4778, allocations: 310.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.4779, allocations: 19.97 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.478, allocations: 11.98 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4781, allocations: 40.89 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4781, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001653/0.4783, allocations: 73.59 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/0.4783, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.4783, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.4783, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.4784, allocations: 11.98 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.4784, allocations: 4.031 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.4785, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.4785, allocations: 0 / 1.02 GB, free: 14.96 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 5.62e-05/0.4786, allocations: 118.3 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.4786, allocations: 3.906 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.4788, allocations: 68.78 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.4788, allocations: 7.969 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4788, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.4788, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4789, allocations: 161.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.479, allocations: 7.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.479, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.479, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.479, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.479, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.479, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.4792, allocations: 167.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.4793, allocations: 81.09 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.4793, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.4794, allocations: 4.188 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.4794, allocations: 3.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4794, allocations: 12.02 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.4794, allocations: 79.28 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4795, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001974/0.4797, allocations: 4 kB / 1.021 GB, free: 14.14 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.0004215/0.4801, allocations: 0.7007 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4803, allocations: 35.95 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.4803, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.4804, allocations: 23.92 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.4806, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.4809, allocations: 140 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.4811, allocations: 0.6768 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.4811, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.4812, allocations: 11.44 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.4812, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.501, allocations: 1.113 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.5012, allocations: 205.1 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.141, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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