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.006453/0.006453, allocations: 100.5 kB / 15.73 MB, free: 6.062 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.001643/0.001643, allocations: 192.3 kB / 16.67 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 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 2.327/2.327, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 76.33 kB / 1.018 GB, free: 9.777 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6642, allocations: 151.6 MB / 1.166 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001924/0.6662, allocations: 0.677 MB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.6671, allocations: 0.8078 MB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.6672, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.6672, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.6673, allocations: 7.922 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.6674, allocations: 8 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.6675, allocations: 31.92 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.6676, allocations: 4 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.6677, allocations: 15.92 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.6677, allocations: 7.984 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.6678, allocations: 4 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-06/0.6678, allocations: 0 / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.6678, allocations: 7.938 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.6678, allocations: 7.984 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.6679, allocations: 19.91 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6679, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6679, allocations: 4 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6679, allocations: 4 kB / 1.168 GB, free: 1.973 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.0004485/0.6684, allocations: 335.2 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6684, allocations: 8.625 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.6685, allocations: 34.73 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.6685, allocations: 8.938 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.6687, allocations: 172.2 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.6687, allocations: 384 / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.6687, allocations: 8.375 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.6689, allocations: 46.23 kB / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6689, allocations: 3.938 kB / 1.168 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.6689, allocations: 7.984 kB / 1.168 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.6689, allocations: 0 / 1.168 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.6691, allocations: 35.89 kB / 1.168 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.6694, allocations: 248.9 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.6695, allocations: 46.44 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.6696, allocations: 27.33 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.6697, allocations: 0 / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.6697, allocations: 34.56 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.585e-06/0.6697, allocations: 4 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003496/0.6701, allocations: 81.58 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.6701, allocations: 51.41 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.6702, allocations: 101.9 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.6702, allocations: 25.7 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.6703, allocations: 80.14 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.6703, allocations: 12.06 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.6703, allocations: 17.72 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6705, allocations: 310.8 kB / 1.169 GB, free: 88 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.6705, allocations: 15.98 kB / 1.169 GB, free: 72 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.6706, allocations: 15.98 kB / 1.169 GB, free: 56 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.6708, allocations: 44.88 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6708, allocations: 3.938 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002125/0.671, allocations: 73.55 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.671, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.671, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6711, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.6711, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.6712, allocations: 3.984 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.6712, allocations: 8.031 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.6712, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 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 7.946e-05/0.6713, allocations: 113.8 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.6713, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.6716, allocations: 76.7 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6716, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6716, allocations: 4.031 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6716, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.6718, allocations: 161.6 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6718, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.6719, allocations: 11.98 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6719, allocations: 3.938 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.6719, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6719, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6719, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.6721, allocations: 167.5 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.6722, allocations: 81.06 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.6722, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.6723, allocations: 7.984 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.6723, allocations: 7.938 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.6723, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.6724, allocations: 95.23 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6724, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002066/0.6726, allocations: 4 kB / 1.17 GB, free: 15.07 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.0005841/0.6732, allocations: 0.6929 MB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.6734, allocations: 35.97 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6734, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.6735, allocations: 23.91 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.6738, allocations: 6.531 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.6742, allocations: 139.7 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.6745, allocations: 0.6768 MB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.6745, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.6746, allocations: 15.44 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6746, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8869/1.562, allocations: 1.265 MB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/13.18, allocations: 8.891 kB / 1.173 GB, free: 12.2 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 & /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=400 --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