Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008676/0.0008676, 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.0008576/0.0008576, 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.9072/0.9072, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.714/1.714, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.208e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001286/0.001308, allocations: 0.7092 MB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000774/0.002082, allocations: 0.8625 MB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.002113, allocations: 0 / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.002141, allocations: 3.938 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.002201, allocations: 11.98 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.002385, allocations: 23.91 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.002458, allocations: 43.8 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.00255, allocations: 11.98 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.00262, allocations: 19.98 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.002657, allocations: 15.98 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.002672, allocations: 4 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.002714, allocations: 15.92 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.002729, allocations: 7.984 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.002746, allocations: 11.98 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.002851, allocations: 51.81 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002853, allocations: 0 / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002854, allocations: 4 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.002858, allocations: 0 / 0.9828 GB, free: 0.707 MB / 0.9323 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.0003432/0.003201, allocations: 282.2 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.003236, allocations: 8.031 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.003264, allocations: 34.75 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.003328, allocations: 8.891 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.003403, allocations: 117.7 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.003413, allocations: 8.359 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.003421, allocations: 4.375 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.00358, allocations: 70.22 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.003587, allocations: 192 / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.003595, allocations: 384 / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003601, allocations: 8.125 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.00374, allocations: 63.92 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.004105, allocations: 232 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.004228, allocations: 54.53 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.004301, allocations: 36.92 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.004322, allocations: 3.938 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.004343, allocations: 38.55 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.004344, allocations: 7.938 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000299/0.004643, allocations: 125.5 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.004676, allocations: 55.34 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.004737, allocations: 109.8 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.004748, allocations: 29.7 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.004783, allocations: 96.08 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.004802, allocations: 7.891 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.004828, allocations: 17.72 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.004898, allocations: 318.8 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.004969, allocations: 31.95 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.005032, allocations: 27.97 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.005164, allocations: 73.06 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005166, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001615/0.005327, allocations: 105.5 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.005339, allocations: 4 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.005344, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.005355, allocations: 4 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.005433, allocations: 19.97 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.005437, allocations: 0 / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.005474, allocations: 15.94 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.00548, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 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.28e-05/0.005533, allocations: 113.8 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.005546, allocations: 3.938 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.005742, allocations: 109.6 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005744, allocations: 3.938 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.005749, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.005752, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.005854, allocations: 132.7 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005855, allocations: 0 / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.005896, allocations: 15.92 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005897, allocations: 0 / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.005903, allocations: 4 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.005904, allocations: 4 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005905, allocations: 320 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.006088, allocations: 199.4 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.006096, allocations: 7.938 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.006106, allocations: 0 / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.006155, allocations: 11.98 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.006188, allocations: 7.922 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.006191, allocations: 4 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.006222, allocations: 95.2 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006222, allocations: 0 / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001415/0.006364, allocations: 11.94 kB / 0.9854 GB, free: 13.74 MB / 0.948 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.0003647/0.006728, allocations: 0.7241 MB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.006905, allocations: 71.92 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006907, allocations: 0 / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.006977, allocations: 39.89 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.007212, allocations: 10.97 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.007555, allocations: 158.4 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.007596, allocations: 67.28 kB / 0.9864 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.007619, allocations: 4 kB / 0.9864 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.007659, allocations: 16.86 kB / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.00766, allocations: 0 / 0.9865 GB, free: 12.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.02695, allocations: 2.325 MB / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.78, allocations: 6.406 kB / 0.9887 GB, free: 10.39 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.765045451000333]