Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_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.007839/0.007845, allocations: 103.7 kB / 15.74 MB, free: 6.453 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.001872/0.001872, allocations: 193.5 kB / 16.67 MB, free: 6.355 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.772/2.772, allocations: 469.4 MB / 0.7421 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.89 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2746, allocations: 159.1 MB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001747/0.2763, allocations: 0.6706 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.2773, allocations: 0.8097 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.2773, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.2774, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.2774, allocations: 3.938 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.2776, allocations: 11.98 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.2777, allocations: 27.91 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.2778, allocations: 4 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.2778, allocations: 15.92 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.2779, allocations: 0 / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2779, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.2779, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.2779, allocations: 15.92 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.2779, allocations: 4 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.167e-05/0.278, allocations: 23.89 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.278, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2781, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.2781, allocations: 3.938 kB / 1.221 GB, free: 12.95 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.0004266/0.2785, allocations: 343.4 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2785, allocations: 8.031 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.2786, allocations: 34.75 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.2786, allocations: 8.891 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2787, allocations: 168.3 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2787, allocations: 384 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.2788, allocations: 4.375 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2789, allocations: 46.23 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.279, allocations: 3.938 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.279, allocations: 4 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.279, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2792, allocations: 39.84 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.2795, allocations: 241 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2796, allocations: 42.48 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.2797, allocations: 28.91 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.2797, allocations: 0 / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2798, allocations: 30.56 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2798, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003654/0.2801, allocations: 85.58 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2802, allocations: 51.41 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.2803, allocations: 106 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2803, allocations: 29.7 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.2803, allocations: 84.09 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.2804, allocations: 3.953 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.2804, allocations: 17.72 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2805, allocations: 314.8 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.2806, allocations: 11.98 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.2807, allocations: 23.98 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.2808, allocations: 36.77 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2809, allocations: 3.938 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.2811, allocations: 65.66 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2811, allocations: 4.094 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2811, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2811, allocations: 4 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.2812, allocations: 7.984 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2812, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.2813, allocations: 7.984 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2813, allocations: 0 / 1.223 GB, free: 10.89 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.659e-05/0.2814, allocations: 118.3 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2814, allocations: 0 / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2816, allocations: 76.72 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2816, allocations: 4.188 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2816, allocations: 3.938 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2816, allocations: 3.984 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2818, allocations: 161.6 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2818, allocations: 0 / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.2819, allocations: 11.98 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2819, allocations: 3.938 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2819, allocations: 8.031 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2819, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2819, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.2822, allocations: 167.3 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.2822, allocations: 77.11 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.2822, allocations: 0 / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.2823, allocations: 16.02 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.2823, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2824, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.2824, allocations: 79.28 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2824, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002228/0.2826, allocations: 4 kB / 1.224 GB, free: 10.07 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.0005283/0.2832, allocations: 0.6968 MB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.2834, allocations: 35.91 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2834, allocations: 0 / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.2835, allocations: 24.08 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.2838, allocations: 7.984 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.2842, allocations: 147.5 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.2844, allocations: 0.6768 MB / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.2845, allocations: 0 / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.2845, allocations: 7.438 kB / 1.225 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2845, allocations: 4 kB / 1.225 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.3026, allocations: 1.275 MB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.526, allocations: 4.094 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches