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.001418/0.001418, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.486/2.486, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 71.89 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5272, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001752/0.5289, allocations: 0.667 MB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.5297, allocations: 0.8079 MB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.5298, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.5298, allocations: 3.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.5299, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.53, allocations: 15.92 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.5301, allocations: 16 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.5301, allocations: 11.98 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.916e-05/0.5302, allocations: 19.88 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.5302, allocations: 7.984 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.5303, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.5303, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.5303, allocations: 11.92 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.5303, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.053e-05/0.5304, allocations: 27.89 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5304, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5304, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5304, allocations: 0 / 1.019 GB, free: 0.8203 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.0003861/0.5308, allocations: 337.7 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5308, allocations: 8.031 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.5309, allocations: 34.75 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.5309, allocations: 0.9375 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.531, allocations: 164.3 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.531, allocations: 4.375 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.531, allocations: 384 / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.5312, allocations: 54.17 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5312, allocations: 7.938 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.5312, allocations: 0 / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5312, allocations: 0 / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.5314, allocations: 35.95 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.5317, allocations: 245 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.5319, allocations: 46.42 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.532, allocations: 24.84 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.532, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.532, allocations: 38.5 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.532, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003292/0.5324, allocations: 81.64 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5324, allocations: 55.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.5325, allocations: 97.86 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5325, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.5326, allocations: 88.06 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.5326, allocations: 3.906 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.5326, allocations: 17.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5327, allocations: 315 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.5328, allocations: 19.92 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-05/0.5329, allocations: 23.97 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.5331, allocations: 40.83 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5331, allocations: 3.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.5333, allocations: 65.72 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5333, allocations: 8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.5333, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5333, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.5334, allocations: 7.984 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5334, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.5335, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.5335, allocations: 7.938 kB / 1.021 GB, free: 14.76 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.499e-05/0.5335, allocations: 122.9 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.5336, allocations: 3.906 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.5338, allocations: 72.78 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5338, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5338, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5338, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.534, allocations: 161.6 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.534, allocations: 4.031 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.5341, allocations: 11.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5341, allocations: 192 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.5341, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5341, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5341, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.5343, allocations: 171.4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.5344, allocations: 81.05 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.5344, allocations: 11.98 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.5345, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.5345, allocations: 7.922 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.5345, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.5346, allocations: 79.28 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5346, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002134/0.5348, allocations: 4 kB / 1.021 GB, free: 13.94 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.000486/0.5353, allocations: 0.7006 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.5355, allocations: 47.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5355, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.5356, allocations: 15.98 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.5358, allocations: 4.719 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.5362, allocations: 143.8 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.5364, allocations: 0.6808 MB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.5365, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.5365, allocations: 7.438 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5365, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.5506, allocations: 1.23 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.638, allocations: 8.891 kB / 1.024 GB, free: 11.08 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