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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005337/0.005337, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 15.98 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5342, allocations: 153.8 MB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.0007742/0.535, allocations: 438.2 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.5358, allocations: 0.8235 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.5358, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.5358, allocations: 3.938 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.5359, allocations: 7.922 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.536, allocations: 19.97 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.5361, allocations: 39.86 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.5362, allocations: 8 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.5362, allocations: 11.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.5363, allocations: 23.86 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.5363, allocations: 4 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.5363, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.5364, allocations: 7.984 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.5364, allocations: 37.64 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.588e-05/0.5365, allocations: 47.78 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5365, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.756e-06/0.5365, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.5365, allocations: 3.938 kB / 1.025 GB, free: 14.48 MB / 0.7794 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.0004415/0.537, allocations: 373.6 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.537, allocations: 8.031 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.537, allocations: 30.75 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.5371, allocations: 8.922 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.5372, allocations: 168.3 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5372, allocations: 4.375 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.5372, allocations: 4.375 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.5374, allocations: 81.91 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.5375, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5375, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5375, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.5378, allocations: 91.86 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.5381, allocations: 268.9 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.5383, allocations: 70.53 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.5385, allocations: 44.92 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.5385, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5385, allocations: 30.56 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.5385, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005544/0.5391, allocations: 165.5 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.5391, allocations: 55.41 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.5392, allocations: 109.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.5392, allocations: 25.7 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.5393, allocations: 92.14 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.5393, allocations: 11.83 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.5393, allocations: 9.719 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.5394, allocations: 322.8 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5396, allocations: 47.95 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.5397, allocations: 35.97 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.54, allocations: 96.72 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.54, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003299/0.5404, allocations: 121.8 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5404, allocations: 9.812 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.5404, allocations: 48 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.5404, allocations: 7.984 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5405, allocations: 19.98 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5405, allocations: 3.984 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.5406, allocations: 15.98 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.5406, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 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 6.371e-05/0.5407, allocations: 118.3 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.5407, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.5411, allocations: 125.5 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5411, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5411, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5411, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.5413, allocations: 173.6 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5413, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.713e-05/0.5414, allocations: 19.98 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5414, allocations: 4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.5414, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5414, allocations: 3.938 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5414, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.5418, allocations: 227.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.5418, allocations: 77.11 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.5418, allocations: 4 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.542, allocations: 15.98 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.542, allocations: 11.98 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.542, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.5421, allocations: 87.28 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5421, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000205/0.5423, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 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.0006206/0.5429, allocations: 0.7591 MB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.5432, allocations: 91.92 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5432, allocations: 0 / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.5434, allocations: 51.95 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.5437, allocations: 4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.5441, allocations: 168.2 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.5443, allocations: 0.6887 MB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.5443, allocations: 8 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.5443, allocations: 11.44 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of SimCode: time 6.42e-07/0.5443, allocations: 0 / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7292/1.274, allocations: 1.303 MB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.274, allocations: 198.1 kB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.776, allocations: 0.875 kB / 1.031 GB, free: 7.68 MB / 0.7794 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches