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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004154/0.004154, allocations: 98.66 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 67.89 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.6378, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001657/0.6395, allocations: 0.6991 MB / 1.221 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.6404, allocations: 0.839 MB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.6404, allocations: 0 / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.6405, allocations: 7.938 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.6405, allocations: 3.938 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.6406, allocations: 15.97 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.6407, allocations: 47.84 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.6408, allocations: 8 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.6409, allocations: 19.92 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.6409, allocations: 23.91 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.641, allocations: 0 / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.641, allocations: 8 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.641, allocations: 8 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.641, allocations: 27.84 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.132e-05/0.6411, allocations: 35.88 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6411, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6411, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.6411, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 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.0005075/0.6417, allocations: 363 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6417, allocations: 12.03 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.6417, allocations: 34.75 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.6418, allocations: 12.88 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6419, allocations: 168.3 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.6419, allocations: 384 / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.6419, allocations: 384 / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.6422, allocations: 70.22 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.6422, allocations: 3.938 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.6422, allocations: 4 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6422, allocations: 3.938 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.6425, allocations: 63.92 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.6428, allocations: 268.9 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.643, allocations: 66.47 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.6432, allocations: 32.92 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.6432, allocations: 4 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.6433, allocations: 38.55 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6433, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005355/0.6438, allocations: 133.5 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.6439, allocations: 51.41 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.6439, allocations: 109.8 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.644, allocations: 25.7 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.644, allocations: 92.06 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.644, allocations: 23.83 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.6441, allocations: 13.72 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6442, allocations: 314.8 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.6444, allocations: 31.95 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.6445, allocations: 27.97 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.6448, allocations: 76.72 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6448, allocations: 0 / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003262/0.6451, allocations: 97.56 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.6452, allocations: 4 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6452, allocations: 8 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.6452, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.6453, allocations: 19.97 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6453, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.6454, allocations: 15.94 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.6454, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 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 7.284e-05/0.6455, allocations: 113.8 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.6455, allocations: 4 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.6459, allocations: 109.5 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6459, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.6459, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6459, allocations: 4 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.6461, allocations: 169.6 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6461, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.6462, allocations: 19.92 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6462, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.6462, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6462, allocations: 4 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6462, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.6466, allocations: 203.4 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.6467, allocations: 77.11 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.6467, allocations: 0 / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6468, allocations: 11.98 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.6468, allocations: 12.41 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6469, allocations: 0 / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.6469, allocations: 83.22 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.6469, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002054/0.6471, allocations: 12 kB / 1.225 GB, free: 12.94 MB / 0.9512 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.0006757/0.6478, allocations: 0.7363 MB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.6481, allocations: 71.92 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6482, allocations: 3.938 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.6483, allocations: 39.89 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.6486, allocations: 4 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.649, allocations: 169.7 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.6493, allocations: 0.6845 MB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.6493, allocations: 0 / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.6494, allocations: 19.42 kB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6494, allocations: 0 / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.197/2.847, allocations: 1.631 MB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/16, allocations: 4.531 kB / 1.228 GB, free: 9.582 MB / 0.9512 GB (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) 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) Reference file matches