Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9075/0.9075, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.675/1.675, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.353e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001445/0.001469, allocations: 0.699 MB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.002297, allocations: 0.8549 MB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.002336, allocations: 0 / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.002367, allocations: 3.938 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.002437, allocations: 19.88 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.002636, allocations: 19.91 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.203e-05/0.002718, allocations: 43.86 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.00282, allocations: 7.984 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.0029, allocations: 35.84 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.00294, allocations: 11.98 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.002955, allocations: 4 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.002999, allocations: 8 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.003015, allocations: 11.92 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.003033, allocations: 8 kB / 0.9522 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.00314, allocations: 59.78 kB / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003142, allocations: 0 / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003144, allocations: 0 / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003148, allocations: 0 / 0.9523 GB, free: 1.633 MB / 0.9011 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.0003543/0.003502, allocations: 290.2 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.003537, allocations: 8.031 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.003566, allocations: 38.72 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.003627, allocations: 8.891 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.12e-05/0.003699, allocations: 109.7 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.003708, allocations: 4.375 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.003718, allocations: 12.31 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.003871, allocations: 70.14 kB / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.003879, allocations: 192 / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.003888, allocations: 4.375 kB / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.003894, allocations: 4.125 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.004035, allocations: 63.94 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.004344, allocations: 236 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.004464, allocations: 46.64 kB / 0.9532 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.004544, allocations: 44.75 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.004565, allocations: 3.938 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.004585, allocations: 38.56 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004586, allocations: 4 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003158/0.004902, allocations: 125.6 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.004932, allocations: 55.41 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.239e-05/0.004994, allocations: 105.8 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.005004, allocations: 25.7 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.005038, allocations: 88.14 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.005055, allocations: 11.91 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.005088, allocations: 25.7 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.005167, allocations: 310.8 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.005237, allocations: 39.84 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.005301, allocations: 31.95 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.005433, allocations: 72.78 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005434, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001551/0.005589, allocations: 97.56 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005601, allocations: 4 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.005606, allocations: 0 / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.005616, allocations: 0 / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.00569, allocations: 19.98 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.005696, allocations: 3.938 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.005734, allocations: 19.97 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.005741, allocations: 0 / 0.9542 GB, free: 15.45 MB / 0.9167 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 5.408e-05/0.005795, allocations: 109.8 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.005808, allocations: 7.891 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.005998, allocations: 113.9 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.006001, allocations: 4.031 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.006005, allocations: 0 / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006007, allocations: 0 / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.006224, allocations: 132.8 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.006226, allocations: 4 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.006271, allocations: 19.91 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006272, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006278, allocations: 3.938 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.00628, allocations: 8 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006281, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.006459, allocations: 191.4 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.006468, allocations: 11.92 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.006477, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.006526, allocations: 11.98 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.006558, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.006562, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.006593, allocations: 95.56 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006593, allocations: 0 / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001446/0.006738, allocations: 4 kB / 0.9549 GB, free: 14.66 MB / 0.9167 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.0003535/0.007091, allocations: 0.7347 MB / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.007265, allocations: 67.92 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007266, allocations: 3.938 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.022e-05/0.007337, allocations: 35.95 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.007547, allocations: 6.188 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.007871, allocations: 167 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.007915, allocations: 67.28 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.007935, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.007978, allocations: 16.5 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of SimCode: time 3.9e-07/0.007978, allocations: 0 / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.02214, allocations: 2.329 MB / 0.9583 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/6.587, allocations: 12.16 kB / 0.9583 GB, free: 11.29 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable atan2_1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! Error: Could not read variable atan2_1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.69553090725094]