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.001315/0.001315, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001493/0.001493, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.378/3.378, allocations: 0.49 GB / 0.7951 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 62.52 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002516/0.3552, allocations: 0.7137 MB / 1.327 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3567, allocations: 0.8786 MB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.3567, allocations: 0 / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.153e-05/0.3568, allocations: 15.86 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.757e-05/0.3569, allocations: 7.938 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.3571, allocations: 23.91 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3572, allocations: 43.92 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3573, allocations: 11.98 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.3574, allocations: 19.86 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.3575, allocations: 23.92 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3575, allocations: 4 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.303e-05/0.3576, allocations: 4 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.3576, allocations: 15.98 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.3576, allocations: 23.86 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3578, allocations: 40.09 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3578, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3578, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3578, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 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.0006098/0.3584, allocations: 294.1 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3584, allocations: 8.031 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.3585, allocations: 34.75 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.3586, allocations: 8.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3587, allocations: 118.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3587, allocations: 384 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3587, allocations: 4.375 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.359, allocations: 70.16 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.359, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.359, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.359, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3593, allocations: 67.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.3598, allocations: 247.9 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.36, allocations: 58.48 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.3601, allocations: 44.89 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3602, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3602, allocations: 34.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3602, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005634/0.3608, allocations: 133.5 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3608, allocations: 51.41 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3609, allocations: 113.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3609, allocations: 29.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.361, allocations: 84.08 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.361, allocations: 15.91 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.3611, allocations: 13.72 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3612, allocations: 322.8 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3613, allocations: 23.97 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3615, allocations: 35.95 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.3617, allocations: 68.73 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3617, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003271/0.3621, allocations: 101.6 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3621, allocations: 8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3621, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3621, allocations: 3.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3622, allocations: 15.98 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3622, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.3623, allocations: 7.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3623, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 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 9.621e-05/0.3624, allocations: 114.3 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3625, allocations: 11.95 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.3628, allocations: 101.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3628, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3628, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3628, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.363, allocations: 140.7 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.363, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3632, allocations: 19.91 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.3632, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3632, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3632, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3632, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.3635, allocations: 191.4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.3636, allocations: 12.38 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3636, allocations: 3.984 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3637, allocations: 7.984 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.3637, allocations: 8 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3637, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.3638, allocations: 91.58 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3638, allocations: 3.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002229/0.364, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 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.0007172/0.3647, allocations: 0.7318 MB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.3651, allocations: 71.92 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3651, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3652, allocations: 35.91 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3656, allocations: 9.469 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.3661, allocations: 163.8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3665, allocations: 0.6807 MB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.3665, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.3666, allocations: 15.44 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3666, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.3959, allocations: 1.751 MB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.63, allocations: 7.828 kB / 1.334 GB, free: 9.664 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.523817224195227]