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.008449/0.008449, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001889/0.001889, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.641/2.641, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 71.88 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.34, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002138/0.3422, allocations: 0.6556 MB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.3432, allocations: 0.816 MB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.3432, allocations: 0 / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.3433, allocations: 11.88 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.3434, allocations: 3.938 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.3435, allocations: 7.984 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.3436, allocations: 23.92 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.3437, allocations: 4 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.3438, allocations: 8 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.3438, allocations: 15.91 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3439, allocations: 4 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.3439, allocations: 4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3439, allocations: 4 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3439, allocations: 19.86 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.344, allocations: 23.91 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.344, allocations: 0 / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.344, allocations: 0 / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.344, allocations: 0 / 1.168 GB, free: 5.75 MB / 0.92 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.000465/0.3445, allocations: 334.3 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3446, allocations: 16.03 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.3446, allocations: 30.75 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.3446, allocations: 0.9375 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3448, allocations: 164.4 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3448, allocations: 384 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3448, allocations: 384 / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.345, allocations: 54.22 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.345, allocations: 3.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.345, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.345, allocations: 4 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.3452, allocations: 39.89 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.3456, allocations: 240.9 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3457, allocations: 42.53 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.3458, allocations: 24.91 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3458, allocations: 7.984 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3459, allocations: 34.5 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3459, allocations: 0 / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000335/0.3462, allocations: 85.55 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3462, allocations: 55.53 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.3463, allocations: 97.84 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3463, allocations: 29.7 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.3464, allocations: 80.14 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3464, allocations: 8.469 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.3465, allocations: 9.719 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3466, allocations: 318.8 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.3466, allocations: 15.97 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3467, allocations: 19.98 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3469, allocations: 48.64 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3469, allocations: 3.938 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001763/0.3471, allocations: 65.66 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3471, allocations: 8.094 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3471, allocations: 4 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3471, allocations: 0 / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.3472, allocations: 11.98 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3472, allocations: 0 / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.3473, allocations: 8.266 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3473, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 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.694e-05/0.3474, allocations: 117.7 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3474, allocations: 4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.3476, allocations: 72.72 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3476, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3476, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3477, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3478, allocations: 161.6 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3478, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.3479, allocations: 4 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3479, allocations: 4.031 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3479, allocations: 4 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3479, allocations: 3.984 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3479, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.3482, allocations: 159.3 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.3482, allocations: 85.09 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.3482, allocations: 4.031 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.3483, allocations: 4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3483, allocations: 7.984 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3483, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.3484, allocations: 83.45 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3484, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002143/0.3486, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 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.0005318/0.3492, allocations: 0.6968 MB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3494, allocations: 39.89 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3494, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.3495, allocations: 24.08 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3498, allocations: 9.812 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.3503, allocations: 139.7 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3505, allocations: 0.6805 MB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.3505, allocations: 0 / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.3506, allocations: 15.42 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of SimCode: time 5e-07/0.3506, allocations: 8 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.3693, allocations: 1.254 MB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.007, allocations: 5.25 kB / 1.173 GB, free: 0 / 0.92 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