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.00969/0.00969, allocations: 97.61 kB / 15.73 MB, free: 6.047 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.002245/0.002245, allocations: 194 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.44/2.44, 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 3.986/3.986, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 65.22 kB / 0.9505 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4534, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.003305/0.4567, allocations: 0.6973 MB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.4584, allocations: 0.8277 MB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.4585, allocations: 3.938 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.4586, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.4587, allocations: 15.86 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.459, allocations: 15.92 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.4591, allocations: 47.84 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.4593, allocations: 12 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.4594, allocations: 15.92 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.4595, allocations: 23.92 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.4595, allocations: 4 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.4596, allocations: 0 / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.4596, allocations: 11.98 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.4597, allocations: 27.78 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.4599, allocations: 40.09 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4599, allocations: 0 / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4599, allocations: 4 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.4599, allocations: 0 / 1.089 GB, free: 180 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.0008091/0.4607, allocations: 359.4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4608, allocations: 8.031 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.4609, allocations: 30.75 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.4609, allocations: 12.89 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.4611, allocations: 172.3 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4612, allocations: 4.375 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.4612, allocations: 384 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.4616, allocations: 70.22 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4616, allocations: 7.875 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4617, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.4617, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.4622, allocations: 67.92 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.4628, allocations: 268.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.4632, allocations: 58.53 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.4635, allocations: 32.92 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.4636, allocations: 11.94 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4636, allocations: 30.56 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.4636, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0008938/0.4645, allocations: 129.5 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4646, allocations: 55.41 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4647, allocations: 117.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.4648, allocations: 29.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.4649, allocations: 84.08 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.4649, allocations: 11.95 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.465, allocations: 13.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4652, allocations: 318.8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.4655, allocations: 39.89 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.4658, allocations: 28.16 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.4662, allocations: 76.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4663, allocations: 3.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005333/0.4668, allocations: 101.6 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4668, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4669, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4669, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.4671, allocations: 11.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.4671, allocations: 3.984 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.4673, allocations: 15.98 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4674, allocations: 3.938 kB / 1.091 GB, free: 13.8 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 0.0001246/0.4675, allocations: 117.8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.4675, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.4682, allocations: 101.5 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4682, allocations: 4 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4682, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4682, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.4686, allocations: 173.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4686, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.4688, allocations: 11.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4689, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.4689, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4689, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4689, allocations: 3.938 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.4696, allocations: 203.4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.4697, allocations: 81.05 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.4698, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.47, allocations: 15.98 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.4701, allocations: 11.98 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4701, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.4702, allocations: 83.28 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4702, allocations: 3.938 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004849/0.4707, allocations: 11.95 kB / 1.092 GB, free: 12.88 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.001188/0.4719, allocations: 0.7319 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006743/0.4726, allocations: 67.92 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.4726, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.473, allocations: 36.23 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.4736, allocations: 9.5 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.4743, allocations: 155.1 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.4748, allocations: 0.6845 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.438e-05/0.4749, allocations: 4.094 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.4749, allocations: 15.44 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.475, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.51, allocations: 1.632 MB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.44, allocations: 13.53 kB / 1.095 GB, free: 9.535 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