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.001466/0.001466, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001509/0.001509, allocations: 173 kB / 23.49 MB, free: 1.059 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.9459/0.9459, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.047/2.047, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 2.815e-06/2.815e-06, allocations: 3.938 kB / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/3.036e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.004852/0.004883, allocations: 0.6868 MB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00415/0.009032, allocations: 0.8699 MB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.009071, allocations: 1.125 kB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.009098, allocations: 0 / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.009169, allocations: 12.75 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.009355, allocations: 8.922 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.009431, allocations: 23.92 kB / 0.8798 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.009524, allocations: 4.5 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.009602, allocations: 15.98 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.009633, allocations: 5.266 kB / 0.8798 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.009649, allocations: 4 kB / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.009695, allocations: 11.94 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.009712, allocations: 9.078 kB / 0.8799 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.009735, allocations: 8 kB / 0.8799 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.009844, allocations: 15.92 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.009848, allocations: 1.031 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/0.00985, allocations: 0 / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.009855, allocations: 0 / 0.8799 GB, free: 4.914 MB / 0.8386 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.0003725/0.01023, allocations: 361.9 kB / 0.8802 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.01027, allocations: 12.03 kB / 0.8802 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.01039, allocations: 8.922 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.0105, allocations: 113.7 kB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.01051, allocations: 4.375 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.01052, allocations: 4.375 kB / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.01066, allocations: 52.17 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.01067, allocations: 4.125 kB / 0.8804 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.01068, allocations: 384 / 0.8804 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01068, allocations: 0.875 kB / 0.8804 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.01072, allocations: 15.86 kB / 0.8804 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.0112, allocations: 244.8 kB / 0.8807 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.01126, allocations: 30.5 kB / 0.8807 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.01128, allocations: 7.688 kB / 0.8807 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.0113, allocations: 7.984 kB / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.01133, allocations: 37.45 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.01133, allocations: 0 / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001677/0.0115, allocations: 41.58 kB / 0.8808 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.01153, allocations: 51.41 kB / 0.8808 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.01161, allocations: 169.9 kB / 0.881 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.01162, allocations: 26.3 kB / 0.881 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.01167, allocations: 126.9 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.01169, allocations: 9.484 kB / 0.8812 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.01172, allocations: 19.38 kB / 0.8812 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01184, allocations: 496.1 kB / 0.8817 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.01186, allocations: 4 kB / 0.8817 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.01187, allocations: 4.125 kB / 0.8817 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.01191, allocations: 19.62 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01191, allocations: 0 / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.997e-05/0.01198, allocations: 37.66 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.012, allocations: 8 kB / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.012, allocations: 3.938 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.01202, allocations: 3.984 kB / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.0121, allocations: 4 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01211, allocations: 0 / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.01213, allocations: 12.03 kB / 0.8817 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.01214, allocations: 4 kB / 0.8818 GB, free: 2.809 MB / 0.8386 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.774e-05/0.01221, allocations: 152.6 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003049/0.01526, allocations: 7.984 kB / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.01543, allocations: 44.89 kB / 0.8819 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.01544, allocations: 7.984 kB / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01545, allocations: 0 / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01545, allocations: 0 / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.01561, allocations: 112.6 kB / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.01561, allocations: 4 kB / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/0.01569, allocations: 16.02 kB / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.01569, allocations: 0 / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.0157, allocations: 0 / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.01571, allocations: 3.938 kB / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01571, allocations: 4 kB / 0.8821 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.01588, allocations: 183.9 kB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.01589, allocations: 3.953 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.0159, allocations: 8 kB / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.01598, allocations: 3.938 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.01603, allocations: 4 kB / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.01604, allocations: 8.016 kB / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.0161, allocations: 123.2 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0161, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002713/0.01637, allocations: 4 kB / 0.8824 GB, free: 2.059 MB / 0.8386 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.0001507/0.01652, allocations: 91.25 kB / 0.8825 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.01663, allocations: 15.69 kB / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01664, allocations: 0 / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.686e-05/0.01666, allocations: 19.61 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.01698, allocations: 9.5 kB / 0.8825 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.01765, allocations: 118.5 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.0177, allocations: 55.34 kB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.01773, allocations: 4 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.01776, allocations: 8.5 kB / 0.8827 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of SimCode: time 1.172e-06/0.01777, allocations: 0 / 0.8827 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.002943/0.02071, allocations: 484.5 kB / 0.8832 GB, free: 1.219 MB / 0.8386 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.572042051004246]