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.0008055/0.0008055, 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.0008966/0.0008966, 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.892/0.892, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.61/1.61, allocations: 359 MB / 0.6037 GB, free: 11.09 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.895e-06/2.895e-06, allocations: 0 / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.603e-05, allocations: 5.375 kB / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002078/0.002105, allocations: 0.7027 MB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.00334, allocations: 0.8549 MB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.003387, allocations: 3.938 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.003421, allocations: 3.984 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.003497, allocations: 15.86 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.003728, allocations: 23.92 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.193e-05/0.00382, allocations: 43.84 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003934, allocations: 8 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.004021, allocations: 27.86 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.004063, allocations: 19.95 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.004079, allocations: 4 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-05/0.004128, allocations: 8 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.004143, allocations: 4 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.004166, allocations: 15.92 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.004285, allocations: 47.86 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.004291, allocations: 8 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.673e-06/0.004293, allocations: 0 / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.004297, allocations: 0 / 0.9523 GB, free: 1.613 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.0003888/0.004686, allocations: 286.2 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.004728, allocations: 12.03 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.004757, allocations: 30.75 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.004833, allocations: 12.83 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.453e-05/0.004908, allocations: 117.7 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.004918, allocations: 384 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.004927, allocations: 12.31 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005097, allocations: 70.16 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005106, allocations: 192 / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.005116, allocations: 384 / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005122, allocations: 4.125 kB / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.00526, allocations: 63.92 kB / 0.9529 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.00558, allocations: 232 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.005703, allocations: 58.47 kB / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.005778, allocations: 36.92 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.005801, allocations: 7.922 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.00582, allocations: 34.56 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005821, allocations: 0 / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003201/0.006141, allocations: 125.6 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.006171, allocations: 55.41 kB / 0.9534 GB, free: 332 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.006235, allocations: 105.8 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.006244, allocations: 25.7 kB / 0.9535 GB, free: 184 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.006281, allocations: 92.12 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.006299, allocations: 11.91 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.006325, allocations: 25.66 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.006406, allocations: 314.8 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.006519, allocations: 31.95 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.006591, allocations: 27.97 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.006726, allocations: 73.06 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006728, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001649/0.006893, allocations: 105.5 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006906, allocations: 4 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006911, allocations: 0 / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.006925, allocations: 3.984 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.007007, allocations: 19.92 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.007012, allocations: 4 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.007049, allocations: 11.98 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.007055, allocations: 0 / 0.9542 GB, free: 15.44 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.253e-05/0.007108, allocations: 109.8 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.007122, allocations: 15.83 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.007314, allocations: 105.5 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007316, allocations: 4 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.007321, allocations: 3.984 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007324, allocations: 0 / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.007439, allocations: 132.8 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007439, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.00748, allocations: 19.92 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.007482, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.007489, allocations: 3.938 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007491, allocations: 4 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007492, allocations: 3.938 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.007672, allocations: 195.4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.007681, allocations: 11.94 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.00769, allocations: 0 / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.007737, allocations: 7.984 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.007773, allocations: 7.984 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007776, allocations: 0 / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.007809, allocations: 103.5 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007809, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001387/0.007948, allocations: 4 kB / 0.9549 GB, free: 14.64 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.0004523/0.0084, allocations: 0.7279 MB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.008588, allocations: 71.91 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00859, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.00866, allocations: 31.97 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.008914, allocations: 12 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.009273, allocations: 159 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.889e-05/0.009332, allocations: 71.28 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.009355, allocations: 0 / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.0094, allocations: 24.48 kB / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.0094, allocations: 0 / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.02452, allocations: 2.313 MB / 0.9583 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.67, allocations: 15.81 kB / 0.9583 GB, free: 11.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.545208254829049]