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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002552/0.002552, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.503/1.503, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.033/3.033, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 70.41 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4346, allocations: 157.4 MB / 1.052 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002617/0.4373, allocations: 0.7612 MB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4386, allocations: 0.8351 MB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.4387, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.4388, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.4389, allocations: 7.938 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.4391, allocations: 11.98 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.789e-05/0.4392, allocations: 43.86 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.4393, allocations: 15.97 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.4394, allocations: 23.86 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.4395, allocations: 23.92 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4396, allocations: 4 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.4396, allocations: 4 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.4396, allocations: 7.984 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.4397, allocations: 15.88 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.4398, allocations: 43.86 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4398, allocations: 0 / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4398, allocations: 0 / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4398, allocations: 0 / 1.054 GB, free: 6.922 MB / 0.8106 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.000644/0.4405, allocations: 371.6 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4405, allocations: 8.625 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.4406, allocations: 4.938 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.4407, allocations: 168.2 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4407, allocations: 4.375 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.4407, allocations: 384 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.441, allocations: 74.14 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4411, allocations: 8.188 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4411, allocations: 3.938 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4411, allocations: 3.984 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.4414, allocations: 63.92 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.4418, allocations: 261 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.442, allocations: 62.47 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.4422, allocations: 44.78 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4423, allocations: 4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4423, allocations: 34.56 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4423, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000554/0.4429, allocations: 125.5 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4429, allocations: 51.41 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.443, allocations: 113.8 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4431, allocations: 29.7 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.4431, allocations: 88.12 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.4432, allocations: 15.81 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.4432, allocations: 9.719 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4434, allocations: 326.8 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4436, allocations: 27.91 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4437, allocations: 31.97 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.444, allocations: 72.78 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.444, allocations: 3.938 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003183/0.4443, allocations: 101.6 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4443, allocations: 7.984 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4443, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4444, allocations: 4 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4445, allocations: 11.98 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4445, allocations: 3.938 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.4446, allocations: 11.98 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4446, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 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 8.271e-05/0.4447, allocations: 119.3 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4447, allocations: 3.906 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.4451, allocations: 109.5 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4451, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4451, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4451, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.4453, allocations: 177.5 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4453, allocations: 0 / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.546e-05/0.4454, allocations: 15.98 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4454, allocations: 3.984 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4454, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4454, allocations: 3.938 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4454, allocations: 4 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.4458, allocations: 199.8 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.4459, allocations: 81.02 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.4459, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.446, allocations: 15.97 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4461, allocations: 4 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4461, allocations: 7.938 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.4461, allocations: 87.27 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4461, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002344/0.4464, allocations: 12 kB / 1.057 GB, free: 3.656 MB / 0.8106 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.0001692/0.4465, allocations: 95.25 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.4469, allocations: 71.86 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4469, allocations: 7.938 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4471, allocations: 35.95 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.4474, allocations: 14.38 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.4478, allocations: 142 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.4482, allocations: 0.6885 MB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.4483, allocations: 0 / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.4483, allocations: 7.438 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.4483, allocations: 3.938 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of Templates: time 0.003124/0.4514, allocations: 0.579 MB / 1.059 GB, free: 1.965 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) 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) Reference file matches