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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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 0.001985/0.001985, allocations: 67.91 kB / 1.103 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9791, allocations: 163.8 MB / 1.263 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001826/0.9809, allocations: 0.6747 MB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.9818, allocations: 0.8053 MB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.9819, allocations: 4.781 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.9819, allocations: 0.6562 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.982, allocations: 4.781 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.9821, allocations: 8.781 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.9822, allocations: 28.19 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.9823, allocations: 3.859 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.9824, allocations: 9.953 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.9824, allocations: 13.61 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.9824, allocations: 5.766 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.9824, allocations: 2.719 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.9825, allocations: 0.7969 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.9825, allocations: 16.23 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.9826, allocations: 28.47 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9826, allocations: 0.8125 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9826, allocations: 0 / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9826, allocations: 0 / 1.264 GB, free: 6.816 MB / 0.9981 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.0003707/0.983, allocations: 333.3 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.983, allocations: 9.188 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.9831, allocations: 11.06 kB / 1.265 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.9832, allocations: 163.2 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.9832, allocations: 5 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.9832, allocations: 5.312 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.9834, allocations: 45.98 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9834, allocations: 192 / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9834, allocations: 8.781 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9834, allocations: 0 / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.9836, allocations: 32.56 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.9839, allocations: 254.1 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.984, allocations: 45.11 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.9841, allocations: 19.48 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.9841, allocations: 0.8125 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.9842, allocations: 31.91 kB / 1.265 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9842, allocations: 5.031 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000347/0.9845, allocations: 87.2 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.9846, allocations: 52.86 kB / 1.265 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.345e-05/0.9846, allocations: 101.1 kB / 1.265 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.9846, allocations: 25.7 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.9847, allocations: 81.72 kB / 1.265 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.9847, allocations: 10.28 kB / 1.265 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.9847, allocations: 15.91 kB / 1.265 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.9848, allocations: 313.7 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.9848, allocations: 17.77 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.9849, allocations: 14.33 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.9851, allocations: 45.75 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9851, allocations: 0 / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.9853, allocations: 71.06 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9853, allocations: 7.203 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.9853, allocations: 0 / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9853, allocations: 0.75 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.9854, allocations: 13.36 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.9854, allocations: 4.031 kB / 1.266 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.9855, allocations: 6 kB / 1.266 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.9855, allocations: 2 kB / 1.266 GB, free: 5.105 MB / 0.9981 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 4.696e-05/0.9856, allocations: 119.3 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.9856, allocations: 5.438 kB / 1.266 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.9858, allocations: 75.44 kB / 1.266 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9858, allocations: 8.891 kB / 1.266 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9859, allocations: 0 / 1.266 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9859, allocations: 1.531 kB / 1.266 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.986, allocations: 162.8 kB / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.986, allocations: 1.578 kB / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.986, allocations: 7.781 kB / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9861, allocations: 1.516 kB / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.9861, allocations: 0 / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9861, allocations: 0.8438 kB / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9861, allocations: 0.6562 kB / 1.266 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.9863, allocations: 170.7 kB / 1.266 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.9863, allocations: 78.75 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.9863, allocations: 1.797 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.9864, allocations: 4.922 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.9865, allocations: 2.797 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.9865, allocations: 9.297 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.9865, allocations: 80.61 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9865, allocations: 0 / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002121/0.9867, allocations: 7.25 kB / 1.267 GB, free: 4.402 MB / 0.9981 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.0001305/0.9869, allocations: 98.64 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.9871, allocations: 35.62 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9871, allocations: 4.062 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.9872, allocations: 16.09 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.9875, allocations: 15.14 kB / 1.267 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.9877, allocations: 142.4 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.9878, allocations: 0.6758 MB / 1.268 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.9879, allocations: 8.953 kB / 1.268 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9879, allocations: 0.8438 kB / 1.268 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of Templates: time 0.002131/0.99, allocations: 0.5508 MB / 1.268 GB, free: 3.402 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.223001593025401]