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.004914/0.004918, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001167/0.001166, allocations: 196.3 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.557/2.557, allocations: 437.1 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2462, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001784/0.2481, allocations: 0.6615 MB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.249, allocations: 0.816 MB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.249, allocations: 3.938 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.249, allocations: 3.938 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.2491, allocations: 8 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.2493, allocations: 11.92 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.2493, allocations: 19.98 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.2494, allocations: 4 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.2495, allocations: 15.92 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.2496, allocations: 11.92 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2496, allocations: 0 / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2496, allocations: 4 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.2496, allocations: 4 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.2497, allocations: 15.92 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.123e-05/0.2497, allocations: 23.91 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2498, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2498, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2498, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 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.0004256/0.2502, allocations: 339.7 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2502, allocations: 12.03 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.2503, allocations: 30.75 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.2503, allocations: 0.9375 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2504, allocations: 168.3 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2504, allocations: 8.312 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.2505, allocations: 4.359 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.2506, allocations: 50.19 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2506, allocations: 3.938 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.2507, allocations: 0 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2507, allocations: 0 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2508, allocations: 35.95 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.2511, allocations: 248.9 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2513, allocations: 42.53 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.2513, allocations: 24.84 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.2514, allocations: 4 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.2514, allocations: 38.56 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2514, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003492/0.2518, allocations: 81.64 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.2518, allocations: 51.41 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.2519, allocations: 101.8 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2519, allocations: 25.7 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.2519, allocations: 84.27 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.252, allocations: 7.953 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.252, allocations: 13.72 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.2521, allocations: 314.8 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.2522, allocations: 19.97 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.2523, allocations: 19.92 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.2524, allocations: 40.89 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2524, allocations: 3.938 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.2526, allocations: 69.61 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2526, allocations: 4 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2526, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2527, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.2527, allocations: 12.02 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2528, allocations: 11.92 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.2528, allocations: 7.984 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.2528, allocations: 192 / 1.17 GB, free: 3.594 MB / 0.92 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.6e-05/0.2529, allocations: 116.4 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.2529, allocations: 4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.2531, allocations: 72.77 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2532, allocations: 4.031 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2532, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2532, allocations: 0 / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.2533, allocations: 165.5 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2533, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.2534, allocations: 8 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2534, allocations: 3.938 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2534, allocations: 3.984 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2534, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2534, allocations: 3.938 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2537, allocations: 163.5 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2537, allocations: 85.06 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.2537, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.2538, allocations: 8 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.2538, allocations: 3.984 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.2539, allocations: 4.031 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.2539, allocations: 79.28 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2539, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000221/0.2541, allocations: 4 kB / 1.17 GB, free: 2.781 MB / 0.92 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.0004832/0.2546, allocations: 0.7007 MB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.2548, allocations: 35.95 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2548, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.2549, allocations: 23.92 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2552, allocations: 5.562 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.2556, allocations: 143.7 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.2558, allocations: 0.6768 MB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.2558, allocations: 0 / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.2559, allocations: 11.42 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.2559, allocations: 0 / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.2785, allocations: 1.253 MB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.662, allocations: 7.875 kB / 1.173 GB, free: 15.92 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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