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.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.001358/0.001358, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001326/0.001326, allocations: 186 kB / 20.78 MB, free: 1.539 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.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001997/0.001997, allocations: 71.91 kB / 1.107 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9684/0.9704, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002391/0.9728, allocations: 0.7172 MB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.9739, allocations: 0.8386 MB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.974, allocations: 4.938 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.974, allocations: 0.5625 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.9741, allocations: 10.36 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.9743, allocations: 11.67 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.9744, allocations: 47.31 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.9745, allocations: 13.11 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.861e-05/0.9746, allocations: 21.73 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.9746, allocations: 18.88 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.9747, allocations: 7.375 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.9747, allocations: 4.031 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.9747, allocations: 6.891 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.9748, allocations: 17.81 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.9749, allocations: 46.38 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9749, allocations: 0 / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9749, allocations: 0.8438 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.9749, allocations: 0 / 1.273 GB, free: 6.504 MB / 0.9981 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.0005091/0.9754, allocations: 365.1 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.9755, allocations: 9.781 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.9755, allocations: 36.56 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.9755, allocations: 6.391 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.9756, allocations: 165.2 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.9756, allocations: 1.125 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.9756, allocations: 2.562 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.9759, allocations: 76.41 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9759, allocations: 4.547 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.9759, allocations: 0.6562 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.9759, allocations: 0.7812 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.9762, allocations: 63.77 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.9765, allocations: 272.9 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.9767, allocations: 61.8 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.9768, allocations: 37.45 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.9769, allocations: 1.812 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.9769, allocations: 35.31 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9769, allocations: 0 / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005287/0.9774, allocations: 125.6 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.9774, allocations: 52.25 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.9775, allocations: 115.8 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.9775, allocations: 25.7 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.9775, allocations: 97.94 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.9776, allocations: 5.703 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.9776, allocations: 16.38 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.9776, allocations: 311.8 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.9778, allocations: 39.47 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.9779, allocations: 39.95 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.9782, allocations: 71.58 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9782, allocations: 0 / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003086/0.9785, allocations: 97.45 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9785, allocations: 7.562 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.9785, allocations: 3.938 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9785, allocations: 0.8438 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.9786, allocations: 17.77 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9787, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.9787, allocations: 18.06 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.9787, allocations: 1.125 kB / 1.275 GB, free: 4.676 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 4.669e-05/0.9788, allocations: 119.6 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.9788, allocations: 2.062 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.9792, allocations: 102.2 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9792, allocations: 0.7812 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9792, allocations: 0 / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9792, allocations: 1.547 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.9793, allocations: 178.5 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9793, allocations: 2.531 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.304e-05/0.9794, allocations: 18 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9794, allocations: 0.8438 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.9794, allocations: 0 / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9794, allocations: 0.9062 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9794, allocations: 1.219 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.9797, allocations: 203.9 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.9797, allocations: 79.27 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.9798, allocations: 48 / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.9799, allocations: 16.75 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.9799, allocations: 1.875 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.9799, allocations: 5.266 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.9799, allocations: 88.56 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9799, allocations: 0 / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000219/0.9802, allocations: 6.938 kB / 1.276 GB, free: 3.957 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.0005266/0.9807, allocations: 0.737 MB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.981, allocations: 68.56 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.981, allocations: 0.7188 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.9812, allocations: 46.34 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.9815, allocations: 11.16 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.9819, allocations: 182.6 kB / 1.277 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.982, allocations: 0.68 MB / 1.278 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.982, allocations: 1.812 kB / 1.278 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.9821, allocations: 16.39 kB / 1.278 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.9821, allocations: 4 kB / 1.278 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/1.005, allocations: 1.618 MB / 1.279 GB, free: 17.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.718, allocations: 4.562 kB / 1.279 GB, free: 17.99 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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: 14.848538013000507]