Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001551/0.001551, allocations: 110 kB / 18.93 MB, free: 2.945 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.002494/0.002494, allocations: 192.3 kB / 22.23 MB, free: 5.16 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.522/1.522, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 443.5 MB / 0.7322 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 67.89 kB / 1.062 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9769/0.9791, allocations: 160.8 MB / 1.219 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001964/0.9811, allocations: 0.6741 MB / 1.219 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.9822, allocations: 0.81 MB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.9822, allocations: 1.188 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.9823, allocations: 3.938 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.9823, allocations: 5.281 kB / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.9825, allocations: 9.391 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.9825, allocations: 17.5 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.9826, allocations: 18.36 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.9827, allocations: 20.05 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.9828, allocations: 9.734 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.9828, allocations: 2.344 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.9828, allocations: 2.406 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.9828, allocations: 4 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.9828, allocations: 10.41 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.526e-05/0.9829, allocations: 24.81 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.9829, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9829, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.9829, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.92 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.0005052/0.9834, allocations: 340.6 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9835, allocations: 12.98 kB / 1.22 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.9835, allocations: 2.25 kB / 1.22 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.9836, allocations: 165.4 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.9836, allocations: 1.562 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.9837, allocations: 1.688 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.9838, allocations: 53.64 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9838, allocations: 192 / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.9839, allocations: 7.938 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9839, allocations: 5.266 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.984, allocations: 33.64 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.9844, allocations: 249 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.9845, allocations: 43.03 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.9846, allocations: 25.69 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.9846, allocations: 5.141 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.9847, allocations: 31.84 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9847, allocations: 3.938 kB / 1.221 GB, free: 1.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.985, allocations: 80.61 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.9851, allocations: 55.41 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.9851, allocations: 96.02 kB / 1.221 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.9852, allocations: 29.7 kB / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.9852, allocations: 85.48 kB / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.9852, allocations: 7.938 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.9853, allocations: 12.44 kB / 1.221 GB, free: 1.027 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9854, allocations: 316.2 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.9855, allocations: 17.3 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.9856, allocations: 16.7 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.9857, allocations: 39.62 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.9857, allocations: 4 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.9859, allocations: 76.39 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.9859, allocations: 5.156 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.9859, allocations: 1.094 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.986, allocations: 0 / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.986, allocations: 14.38 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.986, allocations: 0 / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.9861, allocations: 8.516 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.9861, allocations: 0 / 1.222 GB, free: 0.5977 MB / 0.92 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 8.896e-05/0.9862, allocations: 127.6 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.9862, allocations: 1.062 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.9864, allocations: 70.7 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9864, allocations: 0 / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9864, allocations: 1.062 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.9864, allocations: 0 / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.9866, allocations: 158.3 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9866, allocations: 0 / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.9867, allocations: 14.39 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9867, allocations: 0 / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.9867, allocations: 5.125 kB / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9867, allocations: 3.938 kB / 1.222 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9867, allocations: 0 / 1.222 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.9869, allocations: 160.1 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.987, allocations: 85.09 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.987, allocations: 5.125 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.9871, allocations: 7.453 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.9871, allocations: 5.188 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.9871, allocations: 1.25 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.9872, allocations: 81.7 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9872, allocations: 1.094 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002168/0.9874, allocations: 3.344 kB / 1.223 GB, free: 15.86 MB / 0.9356 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.0001233/0.9875, allocations: 101.5 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.9877, allocations: 40.7 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9877, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.9878, allocations: 19.36 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.9881, allocations: 6.062 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.9884, allocations: 113.2 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.9887, allocations: 0.6772 MB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.9888, allocations: 1.312 kB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.9888, allocations: 11.44 kB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.9888, allocations: 1.25 kB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.002873/0.9917, allocations: 453.2 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.341363403014839]