Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 111.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.7171 GB, free: 4.129 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 71.89 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8953, allocations: 151.6 MB / 1.175 GB, free: 17.54 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001819/0.8972, allocations: 0.7075 MB / 1.175 GB, free: 17.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008518/0.8981, allocations: 0.8314 MB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.8981, allocations: 1.25 kB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.8981, allocations: 3.938 kB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.8982, allocations: 6.266 kB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.8984, allocations: 19.48 kB / 1.176 GB, free: 16.45 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.054e-05/0.8985, allocations: 46.69 kB / 1.176 GB, free: 16.42 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8986, allocations: 15.48 kB / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.8987, allocations: 17.44 kB / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.8987, allocations: 22.27 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.8988, allocations: 3.719 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.8988, allocations: 7.5 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.8988, allocations: 7.797 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.8988, allocations: 13.22 kB / 1.176 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.8989, allocations: 46.25 kB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.899, allocations: 1.406 kB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.899, allocations: 3.938 kB / 1.176 GB, free: 16.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.899, allocations: 0 / 1.176 GB, free: 16.36 MB / 0.92 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.0004468/0.8994, allocations: 372.4 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.8995, allocations: 10.25 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.8995, allocations: 32.44 kB / 1.177 GB, free: 15.94 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.8995, allocations: 8.062 kB / 1.177 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.379e-05/0.8996, allocations: 167.9 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.8996, allocations: 1.5 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.8997, allocations: 5.688 kB / 1.177 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.8999, allocations: 69.7 kB / 1.177 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8999, allocations: 3.938 kB / 1.177 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.8999, allocations: 4 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.8999, allocations: 1.406 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.9002, allocations: 67.44 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.9005, allocations: 273.4 kB / 1.177 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.9007, allocations: 56.02 kB / 1.177 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.9009, allocations: 36.86 kB / 1.178 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.9009, allocations: 0 / 1.178 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.9009, allocations: 40.86 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.9009, allocations: 0 / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005377/0.9015, allocations: 128.1 kB / 1.178 GB, free: 15.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.9015, allocations: 53.03 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.9016, allocations: 110.8 kB / 1.178 GB, free: 15.08 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.9016, allocations: 30.52 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.9016, allocations: 91.88 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.9017, allocations: 10 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.9017, allocations: 13.72 kB / 1.178 GB, free: 14.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.9018, allocations: 317.6 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.9019, allocations: 30.97 kB / 1.178 GB, free: 14.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.902, allocations: 38.81 kB / 1.178 GB, free: 14.6 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.9023, allocations: 74.98 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9023, allocations: 0 / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003156/0.9027, allocations: 99.23 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.9027, allocations: 5.594 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.9027, allocations: 0 / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9027, allocations: 0 / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.9028, allocations: 16.41 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.9028, allocations: 0.7031 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.9029, allocations: 10.56 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.9029, allocations: 2.406 kB / 1.179 GB, free: 14.53 MB / 0.92 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 4.668e-05/0.903, allocations: 125.5 kB / 1.179 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.903, allocations: 5.391 kB / 1.179 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.9034, allocations: 107.3 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.9034, allocations: 2.203 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9034, allocations: 0 / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9034, allocations: 1.219 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.9035, allocations: 170.3 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9035, allocations: 1.344 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.9036, allocations: 19.28 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9036, allocations: 0 / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.9037, allocations: 2.031 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9037, allocations: 0 / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9037, allocations: 0 / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.904, allocations: 202.1 kB / 1.179 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.904, allocations: 79.47 kB / 1.179 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.9041, allocations: 1.594 kB / 1.179 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9042, allocations: 16.2 kB / 1.179 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.9042, allocations: 3.375 kB / 1.179 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.9042, allocations: 5.156 kB / 1.179 GB, free: 13.88 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.9043, allocations: 91.33 kB / 1.179 GB, free: 13.8 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9043, allocations: 0 / 1.179 GB, free: 13.8 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002127/0.9045, allocations: 6.719 kB / 1.179 GB, free: 13.8 MB / 0.92 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.000575/0.9051, allocations: 0.736 MB / 1.18 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.9054, allocations: 70.78 kB / 1.18 GB, free: 13.11 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9054, allocations: 1.438 kB / 1.18 GB, free: 13.11 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.9056, allocations: 34.2 kB / 1.18 GB, free: 13.11 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.9059, allocations: 16.81 kB / 1.18 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.9063, allocations: 167.3 kB / 1.18 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.9064, allocations: 0.6801 MB / 1.181 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.9065, allocations: 1.422 kB / 1.181 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.9065, allocations: 15.52 kB / 1.181 GB, free: 12.22 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.9065, allocations: 4 kB / 1.181 GB, free: 12.21 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.9284, allocations: 1.618 MB / 1.183 GB, free: 11.83 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.943, allocations: 13.64 kB / 1.183 GB, free: 11.82 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.83457031706348]