Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_11_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.006885/0.006885, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001852/0.001852, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2713, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001716/0.2731, allocations: 0.6712 MB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.274, allocations: 0.8058 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.274, allocations: 0 / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.2741, allocations: 0 / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.2741, allocations: 7.938 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.2742, allocations: 7.984 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.2743, allocations: 23.94 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.2744, allocations: 11.97 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.2745, allocations: 11.94 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.2745, allocations: 11.98 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2745, allocations: 0 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.2746, allocations: 4 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.2746, allocations: 7.875 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.2746, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.369e-05/0.2747, allocations: 23.89 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2747, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2747, allocations: 4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2747, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 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.0004486/0.2752, allocations: 335.5 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2752, allocations: 15.97 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.2752, allocations: 34.75 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.2753, allocations: 4.891 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2754, allocations: 168.3 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.2754, allocations: 4.375 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2754, allocations: 4.375 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2756, allocations: 50.23 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2756, allocations: 7.922 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2756, allocations: 0 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2757, allocations: 0 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.2758, allocations: 35.95 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.2762, allocations: 252.9 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.2763, allocations: 42.48 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.2764, allocations: 16.91 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2764, allocations: 8 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2765, allocations: 30.56 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2765, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003578/0.2768, allocations: 85.58 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2769, allocations: 51.41 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.277, allocations: 97.86 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.277, allocations: 25.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.277, allocations: 92.08 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2771, allocations: 7.953 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.2771, allocations: 13.84 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2772, allocations: 310.8 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.2773, allocations: 19.98 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.2774, allocations: 15.97 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.2776, allocations: 44.89 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2776, allocations: 3.938 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002112/0.2778, allocations: 65.59 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2778, allocations: 8 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2778, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2779, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.278, allocations: 11.98 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.278, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.278, allocations: 15.97 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.278, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 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.519e-05/0.2781, allocations: 113.8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2781, allocations: 4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.2784, allocations: 72.72 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2784, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2784, allocations: 32 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2784, allocations: 4 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2786, allocations: 157.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2786, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.2787, allocations: 11.98 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2787, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2787, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2787, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2787, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.279, allocations: 171.4 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.279, allocations: 81.11 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.279, allocations: 7.922 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.2791, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.2792, allocations: 3.984 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2792, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.2792, allocations: 83.28 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2792, allocations: 4.031 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002266/0.2795, allocations: 4 kB / 1.224 GB, free: 9.793 MB / 0.9825 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.000583/0.28, allocations: 0.6962 MB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2803, allocations: 43.92 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2803, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.2804, allocations: 19.98 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.2806, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.281, allocations: 147.6 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.2813, allocations: 0.6768 MB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.2813, allocations: 4 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.2814, allocations: 11.44 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2814, allocations: 0 / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.3017, allocations: 1.283 MB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.949, allocations: 3.984 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches