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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 152 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.001818/0.001818, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.572/2.572, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 69.03 kB / 0.9083 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2479, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.00178/0.2497, allocations: 0.6667 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000799/0.2505, allocations: 0.8079 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.2506, allocations: 4 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.2506, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.2507, allocations: 7.922 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.2508, allocations: 7.984 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.2509, allocations: 27.92 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.2509, allocations: 8 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.251, allocations: 11.92 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.2511, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2511, allocations: 7.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.2511, allocations: 3.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.2511, allocations: 7.984 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.2511, allocations: 15.92 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.042e-05/0.2512, allocations: 15.97 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2512, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2512, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2512, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 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.0003775/0.2516, allocations: 335.8 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2517, allocations: 12.03 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.2517, allocations: 30.75 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.2517, allocations: 8.781 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.2518, allocations: 168.4 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.2518, allocations: 384 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2518, allocations: 384 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.252, allocations: 54.23 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.252, allocations: 3.938 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.2521, allocations: 3.938 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2521, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.2522, allocations: 31.97 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.2525, allocations: 248.9 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.2526, allocations: 42.5 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.2527, allocations: 24.91 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2528, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.2528, allocations: 30.56 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2528, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003346/0.2531, allocations: 97.47 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.2532, allocations: 51.41 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.2532, allocations: 101.8 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2533, allocations: 25.7 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.2533, allocations: 84.14 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.2533, allocations: 3.906 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.2534, allocations: 17.84 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2535, allocations: 318.8 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.2535, allocations: 11.98 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.2536, allocations: 15.98 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.2538, allocations: 36.83 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-06/0.2538, allocations: 11.98 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.254, allocations: 69.61 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.254, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.254, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.254, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.2541, allocations: 15.92 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2541, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.2542, allocations: 7.984 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.2542, allocations: 4.031 kB / 1.067 GB, free: 10.84 MB / 0.8262 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.152e-05/0.2543, allocations: 113.8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2543, allocations: 4 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.2545, allocations: 68.72 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2545, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2546, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2546, allocations: 8.031 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2547, allocations: 165.6 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2547, allocations: 3.938 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.2548, allocations: 7.984 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2548, allocations: 0 / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.2548, allocations: 0 / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2548, allocations: 4 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2548, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.255, allocations: 163.5 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.2551, allocations: 84.95 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2551, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.2552, allocations: 11.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.2552, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2552, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.2553, allocations: 79.28 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2553, allocations: 4.031 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002149/0.2555, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 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.0004911/0.256, allocations: 0.6973 MB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2562, allocations: 36 kB / 1.068 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2562, allocations: 3.938 kB / 1.068 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.2563, allocations: 19.98 kB / 1.068 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.2566, allocations: 9.547 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.257, allocations: 150.1 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2572, allocations: 0.6768 MB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.2572, allocations: 0 / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.2573, allocations: 7.438 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2573, allocations: 0 / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.2729, allocations: 1.247 MB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/7.192, allocations: 18.39 kB / 1.071 GB, free: 7.148 MB / 0.8262 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