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.001454/0.001454, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001913/0.001913, allocations: 215.4 kB / 22.25 MB, free: 5.113 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.76/1.76, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.984/2.984, allocations: 476.7 MB / 0.7707 GB, free: 4.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002061/0.002061, allocations: 64.42 kB / 1.117 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 169.9 MB / 1.283 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002422/0.3801, allocations: 0.71 MB / 1.284 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3814, allocations: 0.8747 MB / 1.285 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.3815, allocations: 0 / 1.285 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.3815, allocations: 7.938 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.3816, allocations: 3.938 kB / 1.285 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.3818, allocations: 27.91 kB / 1.285 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.795e-05/0.3819, allocations: 43.84 kB / 1.285 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.382, allocations: 8 kB / 1.285 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.3821, allocations: 23.92 kB / 1.285 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.3821, allocations: 15.92 kB / 1.285 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3822, allocations: 7.938 kB / 1.285 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.3822, allocations: 12 kB / 1.285 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.3822, allocations: 11.97 kB / 1.285 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.3823, allocations: 19.88 kB / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3824, allocations: 56.02 kB / 1.285 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3824, allocations: 0 / 1.285 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3824, allocations: 4 kB / 1.285 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3824, allocations: 0 / 1.285 GB, free: 1.961 MB / 0.9825 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.000541/0.383, allocations: 282.2 kB / 1.285 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.383, allocations: 8.031 kB / 1.285 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.3831, allocations: 34.75 kB / 1.286 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3832, allocations: 8.875 kB / 1.286 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3833, allocations: 114.5 kB / 1.286 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.3833, allocations: 8.375 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3833, allocations: 4.375 kB / 1.286 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.3836, allocations: 66.22 kB / 1.286 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3836, allocations: 3.938 kB / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3836, allocations: 4 kB / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3836, allocations: 0 / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.3839, allocations: 71.86 kB / 1.286 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.3843, allocations: 240 kB / 1.286 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.3846, allocations: 50.53 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.3847, allocations: 40.92 kB / 1.286 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3847, allocations: 3.938 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3848, allocations: 38.5 kB / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.061e-06/0.3848, allocations: 0 / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005683/0.3853, allocations: 137.5 kB / 1.286 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3854, allocations: 51.41 kB / 1.286 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3855, allocations: 109.8 kB / 1.286 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3855, allocations: 25.7 kB / 1.286 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.3856, allocations: 92.08 kB / 1.287 GB, free: 432 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3856, allocations: 3.953 kB / 1.287 GB, free: 428 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3856, allocations: 21.7 kB / 1.287 GB, free: 400 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3857, allocations: 310.8 kB / 1.287 GB, free: 80 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3859, allocations: 35.95 kB / 1.287 GB, free: 44 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.386, allocations: 31.97 kB / 1.287 GB, free: 12 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3863, allocations: 76.66 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3863, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.3866, allocations: 101.6 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3866, allocations: 4 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3866, allocations: 0 / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3866, allocations: 0 / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3868, allocations: 19.92 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3868, allocations: 3.984 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.3869, allocations: 15.98 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3869, allocations: 4.328 kB / 1.287 GB, free: 15.78 MB / 0.9981 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 8.332e-05/0.387, allocations: 113.7 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.387, allocations: 4 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.3873, allocations: 113.6 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3873, allocations: 0 / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3873, allocations: 0 / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3874, allocations: 0 / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3875, allocations: 148.6 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3875, allocations: 0 / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.3876, allocations: 15.98 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3876, allocations: 0 / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3876, allocations: 0 / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3876, allocations: 0 / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3876, allocations: 4 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.388, allocations: 207.3 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.388, allocations: 7.953 kB / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.388, allocations: 0 / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3881, allocations: 11.98 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3882, allocations: 7.984 kB / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3882, allocations: 0 / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.3882, allocations: 87.28 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3882, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002189/0.3884, allocations: 8 kB / 1.288 GB, free: 14.99 MB / 0.9981 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.0006924/0.3891, allocations: 0.728 MB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.3895, allocations: 63.92 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3895, allocations: 0 / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3896, allocations: 43.95 kB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3899, allocations: 4 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.3904, allocations: 163.8 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3907, allocations: 0.6807 MB / 1.289 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.3907, allocations: 8 kB / 1.289 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.3908, allocations: 15.42 kB / 1.289 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.3908, allocations: 0 / 1.289 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.4201, allocations: 1.734 MB / 1.291 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.63, allocations: 11.22 kB / 1.291 GB, free: 11.59 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.625965405022725]