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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000863/0.0008631, allocations: 92 kB / 15.36 MB, free: 0.7383 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.005723/0.005723, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.338/2.338, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002979, allocations: 8 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5455, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.0007249/0.5463, allocations: 414.3 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.5471, allocations: 0.804 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.5471, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.5471, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.5472, allocations: 3.938 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.5473, allocations: 11.97 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.5474, allocations: 16 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.5475, allocations: 11.92 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.5475, allocations: 11.94 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.5475, allocations: 11.98 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.5476, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.5476, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5476, allocations: 7.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.5476, allocations: 25.7 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.064e-05/0.5477, allocations: 31.88 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5477, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5477, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.5477, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 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.0003688/0.5481, allocations: 343.5 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5481, allocations: 12.03 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.5482, allocations: 30.75 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.737e-05/0.5482, allocations: 0.9375 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.5483, allocations: 168.3 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.5483, allocations: 384 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.5483, allocations: 384 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.5485, allocations: 66.17 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5485, allocations: 3.938 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.5485, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5485, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.5487, allocations: 47.95 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.549, allocations: 241 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.5491, allocations: 46.5 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.5492, allocations: 44.77 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.5492, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.5493, allocations: 30.56 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.5493, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.5496, allocations: 97.64 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.5496, allocations: 55.41 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.5497, allocations: 93.86 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.5497, allocations: 25.7 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.5498, allocations: 96.19 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.5498, allocations: 3.906 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.5498, allocations: 17.66 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5499, allocations: 314.8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.55, allocations: 19.92 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-05/0.5501, allocations: 31.97 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.5503, allocations: 44.83 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5503, allocations: 3.938 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.5505, allocations: 77.72 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5505, allocations: 8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.5505, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.5505, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.5506, allocations: 11.98 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5506, allocations: 4.031 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.5507, allocations: 7.938 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.5507, allocations: 4 kB / 1.026 GB, free: 12.36 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 6.445e-05/0.5508, allocations: 110.3 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.5508, allocations: 7.906 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.551, allocations: 84.77 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.551, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.551, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.551, allocations: 192 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.5512, allocations: 157.6 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5512, allocations: 3.984 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.5512, allocations: 16.02 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5513, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.5513, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5513, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5513, allocations: 3.938 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.5515, allocations: 183.4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.5516, allocations: 77.11 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.5516, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.5517, allocations: 11.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.5517, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.5517, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.5517, allocations: 87.3 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5517, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002002/0.5519, allocations: 4 kB / 1.027 GB, free: 11.52 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.0004719/0.5524, allocations: 0.7109 MB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.5526, allocations: 47.95 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5526, allocations: 4.094 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.5527, allocations: 23.98 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.553, allocations: 7.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.5533, allocations: 144.4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.5535, allocations: 0.6771 MB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.5536, allocations: 7.984 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.5536, allocations: 7.438 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5536, allocations: 0 / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009599/0.5632, allocations: 1.008 MB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.5634, allocations: 198.7 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.075, allocations: 0 / 1.03 GB, free: 8.656 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