Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.005647/0.005647, allocations: 106.7 kB / 15.74 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.001329/0.001329, allocations: 192.9 kB / 16.67 MB, free: 5.98 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.263/2.263, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 68.81 kB / 0.9505 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2575, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001786/0.2593, allocations: 0.7137 MB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.2602, allocations: 0.8199 MB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.2602, allocations: 0 / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.2603, allocations: 11.92 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.2604, allocations: 11.92 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.2605, allocations: 11.92 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.2606, allocations: 55.84 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.2607, allocations: 4 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.2608, allocations: 19.92 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.2608, allocations: 19.92 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2608, allocations: 4 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.2608, allocations: 7.938 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.2609, allocations: 11.97 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.2609, allocations: 19.88 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.586e-05/0.261, allocations: 35.88 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.261, allocations: 4 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.261, allocations: 0 / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.261, allocations: 0 / 1.089 GB, free: 192 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004873/0.2615, allocations: 358.2 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2616, allocations: 8.031 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.2616, allocations: 42.69 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.2616, allocations: 4.844 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2617, allocations: 173.2 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2618, allocations: 4.375 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.2618, allocations: 384 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.262, allocations: 70.22 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.262, allocations: 3.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2621, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2621, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.2624, allocations: 67.92 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.2627, allocations: 276.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2629, allocations: 50.55 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.2631, allocations: 48.91 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2631, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.2631, allocations: 30.56 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.2631, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005463/0.2637, allocations: 133.5 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2637, allocations: 51.41 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.2638, allocations: 113.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2638, allocations: 25.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.2639, allocations: 84.14 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.2639, allocations: 11.81 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.2639, allocations: 13.72 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.264, allocations: 318.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.2642, allocations: 31.97 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2643, allocations: 35.95 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.2646, allocations: 72.66 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2646, allocations: 4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003273/0.2649, allocations: 97.62 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.265, allocations: 9.25 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.265, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.265, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2651, allocations: 12.31 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2651, allocations: 11.94 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.2652, allocations: 11.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2652, allocations: 7.984 kB / 1.091 GB, free: 13.82 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 (3): * Single equations (assignments): 3 * 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 8.087e-05/0.2653, allocations: 113.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2654, allocations: 7.906 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.2657, allocations: 113.4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2657, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2658, allocations: 4 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2658, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2659, allocations: 169.6 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2659, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.266, allocations: 15.97 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.266, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.266, allocations: 4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.266, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2661, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.2664, allocations: 195.4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.2665, allocations: 85 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2665, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2666, allocations: 11.98 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.2666, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.2667, allocations: 3.938 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.2667, allocations: 91.27 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2667, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002655/0.267, allocations: 4 kB / 1.092 GB, free: 12.9 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 (3): * Single equations (assignments): 3 * 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.0007439/0.2677, allocations: 0.728 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.2681, allocations: 79.86 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2681, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2683, allocations: 35.95 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.2686, allocations: 4 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.269, allocations: 159.2 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2692, allocations: 0.6807 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.2692, allocations: 8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.2693, allocations: 11.44 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.2693, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.2849, allocations: 1.643 MB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.485, allocations: 9.766 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_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_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches