Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.0009868/0.0009868, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.0009592/0.0009592, allocations: 173 kB / 23.03 MB, free: 1.547 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.9633/0.9633, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 2.068/2.068, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.486e-06/3.486e-06, allocations: 0 / 0.8782 GB, free: 5.086 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.959e-05/4.308e-05, allocations: 6.875 kB / 0.8782 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001639/0.001682, allocations: 0.6746 MB / 0.8789 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.002618, allocations: 0.8723 MB / 0.8798 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.002651, allocations: 1.656 kB / 0.8798 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.002684, allocations: 3.938 kB / 0.8798 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.002761, allocations: 6.062 kB / 0.8798 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.002976, allocations: 12.7 kB / 0.8798 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.003057, allocations: 28.64 kB / 0.8798 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003159, allocations: 5.453 kB / 0.8798 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.003246, allocations: 12.81 kB / 0.8798 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.003286, allocations: 11.98 kB / 0.8798 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.003303, allocations: 4 kB / 0.8798 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-05/0.003364, allocations: 8.703 kB / 0.8799 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.003381, allocations: 0 / 0.8799 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.003406, allocations: 13.33 kB / 0.8799 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.003532, allocations: 23.86 kB / 0.8799 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.003536, allocations: 0 / 0.8799 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.733e-06/0.003538, allocations: 0 / 0.8799 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.003544, allocations: 1.344 kB / 0.8799 GB, free: 3.422 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004034/0.003947, allocations: 356.7 kB / 0.8802 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.003996, allocations: 12.03 kB / 0.8802 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.004128, allocations: 6.469 kB / 0.8802 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.004223, allocations: 120.6 kB / 0.8804 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.004236, allocations: 384 / 0.8804 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.004247, allocations: 384 / 0.8804 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.004386, allocations: 56.39 kB / 0.8804 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.004393, allocations: 192 / 0.8804 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.004403, allocations: 384 / 0.8804 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.004412, allocations: 4.375 kB / 0.8804 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.004441, allocations: 7 kB / 0.8804 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.004744, allocations: 247.8 kB / 0.8807 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.523e-05/0.004809, allocations: 35.05 kB / 0.8807 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.004832, allocations: 15.69 kB / 0.8807 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.00485, allocations: 0 / 0.8807 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.004875, allocations: 37.39 kB / 0.8807 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004876, allocations: 0 / 0.8807 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001687/0.005045, allocations: 45.62 kB / 0.8808 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.005075, allocations: 51.41 kB / 0.8808 GB, free: 2.301 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.005151, allocations: 161.9 kB / 0.881 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.005165, allocations: 29.64 kB / 0.881 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.00522, allocations: 134.9 kB / 0.8812 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.005245, allocations: 7.938 kB / 0.8812 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.005282, allocations: 19.38 kB / 0.8812 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.005416, allocations: 492.1 kB / 0.8816 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.005436, allocations: 0 / 0.8816 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.005451, allocations: 11.98 kB / 0.8817 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.005485, allocations: 15.88 kB / 0.8817 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005487, allocations: 0 / 0.8817 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.526e-05/0.005552, allocations: 45.64 kB / 0.8817 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.00557, allocations: 6.031 kB / 0.8817 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.005576, allocations: 3.938 kB / 0.8817 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.005592, allocations: 0 / 0.8817 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.005684, allocations: 15.92 kB / 0.8817 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.00569, allocations: 0 / 0.8817 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.005707, allocations: 0 / 0.8817 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.005715, allocations: 4 kB / 0.8817 GB, free: 1.316 MB / 0.7917 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 (2): * Single equations (assignments): 2 * 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.961e-05/0.005784, allocations: 156.6 kB / 0.8819 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.0058, allocations: 3.953 kB / 0.8819 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.005905, allocations: 48.94 kB / 0.8819 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.005908, allocations: 0 / 0.8819 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.005912, allocations: 0 / 0.8819 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.005916, allocations: 4 kB / 0.8819 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/0.006016, allocations: 116.6 kB / 0.8821 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006017, allocations: 0 / 0.8821 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.00605, allocations: 4 kB / 0.8821 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006052, allocations: 4.031 kB / 0.8821 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.00606, allocations: 3.984 kB / 0.8821 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.006063, allocations: 7.875 kB / 0.8821 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006064, allocations: 0 / 0.8821 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.006174, allocations: 184 kB / 0.8823 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.006183, allocations: 3.938 kB / 0.8823 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.006196, allocations: 3.984 kB / 0.8823 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.00623, allocations: 7.938 kB / 0.8823 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.006268, allocations: 0 / 0.8823 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.006272, allocations: 4 kB / 0.8823 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.006309, allocations: 127.2 kB / 0.8824 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.006309, allocations: 0 / 0.8824 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001368/0.006446, allocations: 4 kB / 0.8824 GB, free: 0.5742 MB / 0.7917 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 (2): * Single equations (assignments): 2 * 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.0001141/0.00656, allocations: 99.25 kB / 0.8825 GB, free: 476 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.807e-05/0.006658, allocations: 15.62 kB / 0.8825 GB, free: 456 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.006661, allocations: 0 / 0.8825 GB, free: 456 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.006677, allocations: 11.69 kB / 0.8825 GB, free: 440 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.006889, allocations: 7.984 kB / 0.8825 GB, free: 432 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.007415, allocations: 130.4 kB / 0.8827 GB, free: 272 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.007452, allocations: 55.3 kB / 0.8827 GB, free: 196 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.007473, allocations: 0 / 0.8827 GB, free: 196 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.007506, allocations: 16.48 kB / 0.8827 GB, free: 180 kB / 0.7917 GB Notification: Performance of SimCode: time 1.713e-06/0.007508, allocations: 0 / 0.8827 GB, free: 180 kB / 0.7917 GB Notification: Performance of Templates: time 0.002466/0.009974, allocations: 0.5036 MB / 0.8832 GB, free: 15.68 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.378223451320082]