Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001088/0.001088, allocations: 80.44 kB / 19.17 MB, free: 0.7305 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.0008523/0.0008523, allocations: 165.2 kB / 22.46 MB, free: 2.098 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.8843/0.8843, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.736/1.736, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 3.938 kB / 0.9997 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.319e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001316/0.001339, allocations: 0.7049 MB / 1 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.000752/0.002091, allocations: 0.8587 MB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.002127, allocations: 4 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.002153, allocations: 3.938 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.002216, allocations: 11.92 kB / 1.001 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.00239, allocations: 23.86 kB / 1.001 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.002462, allocations: 51.84 kB / 1.001 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.002548, allocations: 4 kB / 1.001 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.002621, allocations: 31.91 kB / 1.001 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.002655, allocations: 15.97 kB / 1.001 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.00267, allocations: 4 kB / 1.001 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.00271, allocations: 8 kB / 1.001 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.002726, allocations: 11.92 kB / 1.001 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.002744, allocations: 8 kB / 1.001 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.00285, allocations: 59.84 kB / 1.001 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002852, allocations: 3.938 kB / 1.001 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002853, allocations: 0 / 1.001 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.002856, allocations: 0 / 1.001 GB, free: 10.5 MB / 0.9167 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.0003499/0.003206, allocations: 278.3 kB / 1.002 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.003244, allocations: 8.75 kB / 1.002 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.003273, allocations: 42.72 kB / 1.002 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.003333, allocations: 4.891 kB / 1.002 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.494e-05/0.003408, allocations: 121.6 kB / 1.002 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.003418, allocations: 8.375 kB / 1.002 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.003426, allocations: 384 / 1.002 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.003583, allocations: 66.22 kB / 1.002 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.00359, allocations: 4.188 kB / 1.002 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003598, allocations: 4.359 kB / 1.002 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003604, allocations: 4.125 kB / 1.002 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.003741, allocations: 63.94 kB / 1.002 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.004009, allocations: 224.1 kB / 1.002 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.004126, allocations: 58.48 kB / 1.002 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.004198, allocations: 36.91 kB / 1.002 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.004217, allocations: 3.938 kB / 1.002 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.004234, allocations: 34.56 kB / 1.002 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004235, allocations: 0 / 1.002 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002909/0.004526, allocations: 133.5 kB / 1.003 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.004553, allocations: 51.41 kB / 1.003 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.004612, allocations: 113.8 kB / 1.003 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.004621, allocations: 29.7 kB / 1.003 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.004653, allocations: 84.09 kB / 1.003 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.004669, allocations: 15.95 kB / 1.003 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.004694, allocations: 13.72 kB / 1.003 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.004768, allocations: 326.8 kB / 1.003 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.004838, allocations: 31.97 kB / 1.003 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.004902, allocations: 35.95 kB / 1.003 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.005036, allocations: 68.78 kB / 1.003 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005038, allocations: 0 / 1.003 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001585/0.005197, allocations: 105.5 kB / 1.003 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.005209, allocations: 8 kB / 1.003 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005213, allocations: 3.938 kB / 1.003 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.005224, allocations: 0 / 1.003 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.005301, allocations: 19.98 kB / 1.003 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.005304, allocations: 0 / 1.003 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.005338, allocations: 11.97 kB / 1.003 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.005346, allocations: 4 kB / 1.003 GB, free: 8.32 MB / 0.9167 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.103e-05/0.005397, allocations: 109.8 kB / 1.004 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.00541, allocations: 7.938 kB / 1.004 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.005598, allocations: 105.9 kB / 1.004 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.005601, allocations: 8.031 kB / 1.004 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005605, allocations: 3.938 kB / 1.004 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.005607, allocations: 0 / 1.004 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.917e-05/0.005706, allocations: 136.7 kB / 1.004 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.005707, allocations: 0 / 1.004 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.005751, allocations: 23.91 kB / 1.004 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005753, allocations: 0 / 1.004 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.00576, allocations: 0 / 1.004 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005761, allocations: 0 / 1.004 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005762, allocations: 4 kB / 1.004 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.005945, allocations: 196.2 kB / 1.004 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.005951, allocations: 3.938 kB / 1.004 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.005962, allocations: 3.984 kB / 1.004 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.006011, allocations: 11.98 kB / 1.004 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.006044, allocations: 0 / 1.004 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.006048, allocations: 8 kB / 1.004 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.006078, allocations: 87.27 kB / 1.004 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006078, allocations: 3.938 kB / 1.004 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001382/0.006216, allocations: 8 kB / 1.004 GB, free: 7.531 MB / 0.9167 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.0005742/0.006791, allocations: 0.7241 MB / 1.005 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.006965, allocations: 71.92 kB / 1.005 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006966, allocations: 0 / 1.005 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.007034, allocations: 35.91 kB / 1.005 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.007237, allocations: 17.47 kB / 1.005 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.007557, allocations: 150.4 kB / 1.005 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.007603, allocations: 75.22 kB / 1.005 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.007625, allocations: 4 kB / 1.005 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.007664, allocations: 16.5 kB / 1.005 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of SimCode: time 2.4e-07/0.007664, allocations: 0 / 1.005 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.02186, allocations: 2.336 MB / 1.007 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.384/6.405, allocations: 6.438 kB / 1.007 GB, free: 4.152 MB / 0.9167 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.364984189160168]