Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_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.0011/0.0011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001176/0.001176, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.251/1.251, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.475/2.475, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 61.66 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2448, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001815/0.2467, allocations: 0.7301 MB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000793/0.2475, allocations: 0.8118 MB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.2475, allocations: 4 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.2476, allocations: 7.875 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.2476, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.2478, allocations: 11.98 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.2478, allocations: 23.92 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.2479, allocations: 7.984 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.248, allocations: 11.94 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.248, allocations: 11.98 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.248, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.248, allocations: 8 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2481, allocations: 3.938 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.2481, allocations: 11.92 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.947e-05/0.2481, allocations: 15.97 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2482, allocations: 4 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2482, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.2482, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 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.0003584/0.2485, allocations: 337.2 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2486, allocations: 8.625 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.2486, allocations: 42.69 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.2486, allocations: 4.844 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2488, allocations: 160.4 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2488, allocations: 4.375 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-06/0.2488, allocations: 8.359 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.2489, allocations: 50.23 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.249, allocations: 3.938 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.249, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.249, allocations: 3.938 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.2491, allocations: 39.95 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.2494, allocations: 248.9 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.2495, allocations: 42.53 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.2496, allocations: 20.91 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2496, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2497, allocations: 38.56 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2497, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003018/0.25, allocations: 77.58 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.25, allocations: 51.53 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.2501, allocations: 109.8 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2501, allocations: 25.7 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.2501, allocations: 80.14 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.2501, allocations: 7.906 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.2502, allocations: 13.72 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.2503, allocations: 310.8 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.2503, allocations: 19.97 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.2504, allocations: 23.92 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2506, allocations: 36.83 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2506, allocations: 3.938 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001722/0.2507, allocations: 73.5 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2508, allocations: 12.09 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2508, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2508, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.2509, allocations: 7.984 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.2509, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.2509, allocations: 7.984 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2509, allocations: 4 kB / 1.056 GB, free: 4.867 MB / 0.8106 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.983e-05/0.251, allocations: 109.8 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.251, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.2512, allocations: 80.72 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2512, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2513, allocations: 4 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2513, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.2514, allocations: 161.6 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2514, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.2515, allocations: 11.94 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2515, allocations: 4.031 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2515, allocations: 3.984 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2515, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2515, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.2517, allocations: 163.5 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.2517, allocations: 84.95 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.2517, allocations: 4.031 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.2518, allocations: 7.938 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.2519, allocations: 8.172 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2519, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.2519, allocations: 87.27 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2519, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000203/0.2521, allocations: 4 kB / 1.057 GB, free: 4.051 MB / 0.8106 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.0004504/0.2526, allocations: 0.6929 MB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2528, allocations: 43.89 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2528, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.2529, allocations: 20.08 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.2531, allocations: 4 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.2534, allocations: 139.8 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2536, allocations: 0.6729 MB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.889e-05/0.2537, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.2537, allocations: 23.48 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2537, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.334/3.588, allocations: 1.116 MB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/3.588, allocations: 204.1 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/5.103, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches