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.001454/0.001454, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001756/0.001756, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.264/2.264, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001568, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5537, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001629/0.5553, allocations: 0.7711 MB / 0.95 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.556, allocations: 0.8232 MB / 0.9508 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.556, allocations: 0 / 0.9508 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.5561, allocations: 3.938 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.5562, allocations: 5.312 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.5563, allocations: 14.73 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.5564, allocations: 41.8 kB / 0.9509 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.5565, allocations: 12.11 kB / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.5565, allocations: 22.78 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.5566, allocations: 20.8 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.5566, allocations: 4.344 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.5566, allocations: 3.875 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.5566, allocations: 11.92 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.5567, allocations: 11.5 kB / 0.951 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.466e-05/0.5568, allocations: 48.47 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5568, allocations: 3.938 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5568, allocations: 0 / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.5568, allocations: 0 / 0.951 GB, free: 7.762 MB / 0.7169 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.000435/0.5572, allocations: 365 kB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5573, allocations: 10.22 kB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.5573, allocations: 34.69 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.5573, allocations: 4.156 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/0.5574, allocations: 178.7 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5574, allocations: 6.125 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.5574, allocations: 1.75 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.5577, allocations: 70.17 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5577, allocations: 5.406 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5577, allocations: 0 / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5577, allocations: 1.312 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.558, allocations: 71.23 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.5583, allocations: 266 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.5585, allocations: 49.42 kB / 0.952 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.5586, allocations: 42.59 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.5587, allocations: 1.375 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.5587, allocations: 39.94 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5587, allocations: 0 / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005052/0.5592, allocations: 133.4 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.5592, allocations: 52.44 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.5593, allocations: 108.4 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.5593, allocations: 25.7 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.5593, allocations: 85.58 kB / 0.9525 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.5594, allocations: 9.375 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.5594, allocations: 16.56 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.5594, allocations: 320.3 kB / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5596, allocations: 28.72 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.5597, allocations: 33.45 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.5599, allocations: 75.77 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.56, allocations: 0 / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002877/0.5602, allocations: 102 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5603, allocations: 5.375 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5603, allocations: 0 / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5603, allocations: 0 / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5604, allocations: 18.86 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5604, allocations: 0 / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.5605, allocations: 14.92 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5605, allocations: 1.375 kB / 0.9531 GB, free: 5.754 MB / 0.7169 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 4.63e-05/0.5606, allocations: 124.5 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.5606, allocations: 1.703 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.5609, allocations: 115.9 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5609, allocations: 1.5 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5609, allocations: 0 / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5609, allocations: 0 / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.561, allocations: 169.2 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5611, allocations: 1.375 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.5612, allocations: 21.44 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5612, allocations: 0.9375 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5612, allocations: 4 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5612, allocations: 1.062 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5612, allocations: 0 / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.5615, allocations: 201.4 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.5615, allocations: 81.09 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.5615, allocations: 5.281 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5616, allocations: 10.7 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.5617, allocations: 2.062 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.5617, allocations: 1 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.5617, allocations: 89.45 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5617, allocations: 0 / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002157/0.562, allocations: 7.094 kB / 0.9539 GB, free: 4.957 MB / 0.7169 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.0004655/0.5624, allocations: 0.7352 MB / 0.9546 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.5627, allocations: 72.02 kB / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5627, allocations: 0 / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.5629, allocations: 36.81 kB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5632, allocations: 6.859 kB / 0.9547 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.5635, allocations: 168.3 kB / 0.9549 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.5637, allocations: 0.6829 MB / 0.9555 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.5637, allocations: 2.344 kB / 0.9555 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.5637, allocations: 13.28 kB / 0.9556 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.5637, allocations: 0 / 0.9556 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/1.599, allocations: 1.422 MB / 0.9569 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/1.6, allocations: 201.2 kB / 0.9571 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/3.708, allocations: 0 / 0.9571 GB, free: 2.344 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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