Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008127/0.008127, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.002634/0.002634, allocations: 196.3 kB / 16.67 MB, free: 5.977 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 73.14 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2408, allocations: 140.4 MB / 1.088 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001728/0.2426, allocations: 0.6592 MB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.2434, allocations: 0.8121 MB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.2435, allocations: 0 / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.2435, allocations: 4 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.2436, allocations: 7.938 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.2437, allocations: 7.984 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.879e-05/0.2438, allocations: 23.92 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.2439, allocations: 4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.2439, allocations: 11.94 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.244, allocations: 11.98 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.244, allocations: 3.984 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.244, allocations: 4 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.244, allocations: 3.938 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.244, allocations: 15.98 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.813e-05/0.2441, allocations: 19.91 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2441, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2441, allocations: 3.938 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2441, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 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.0004333/0.2446, allocations: 334.4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2446, allocations: 8.031 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.2447, allocations: 34.75 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.2447, allocations: 8.844 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2448, allocations: 164.3 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2448, allocations: 8.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.2448, allocations: 384 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.245, allocations: 50.23 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.245, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.245, allocations: 3.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.245, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.2452, allocations: 39.95 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.2455, allocations: 240.9 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2456, allocations: 46.47 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.2457, allocations: 16.91 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2458, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2458, allocations: 42.56 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2458, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003339/0.2461, allocations: 77.58 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2462, allocations: 55.41 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.2463, allocations: 101.8 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2463, allocations: 29.83 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.2463, allocations: 84.05 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2464, allocations: 4.562 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.2464, allocations: 13.72 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2465, allocations: 310.8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.2466, allocations: 23.97 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.2467, allocations: 11.98 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.2469, allocations: 40.89 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2469, allocations: 3.938 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002349/0.2471, allocations: 73.5 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2471, allocations: 8 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2472, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2472, allocations: 32 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.2473, allocations: 15.98 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2473, allocations: 4 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.2473, allocations: 3.984 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.2473, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 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.506e-05/0.2474, allocations: 110.1 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.2474, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.2477, allocations: 80.72 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2477, allocations: 192 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2477, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2477, allocations: 7.922 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.2479, allocations: 169.5 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2479, allocations: 3.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.2479, allocations: 8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.248, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.248, allocations: 3.984 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.248, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.248, allocations: 4.031 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2482, allocations: 163.5 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.2483, allocations: 81.02 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2483, allocations: 4 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.2484, allocations: 4 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.2484, allocations: 8.016 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2484, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.2485, allocations: 83.28 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2485, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002223/0.2487, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 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.0005301/0.2492, allocations: 0.7007 MB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2494, allocations: 35.95 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2495, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.2496, allocations: 19.92 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2498, allocations: 10.22 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.2502, allocations: 142.6 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2505, allocations: 0.6729 MB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.2505, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.2506, allocations: 11.42 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.2506, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.2657, allocations: 1.278 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.635, allocations: 4 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches