Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.002449/0.002449, allocations: 85.48 kB / 19.44 MB, free: 336 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.003431/0.003431, allocations: 177.2 kB / 22.76 MB, free: 1.652 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 1.542/1.542, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.359/3.359, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8775 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.453e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001647/0.001672, allocations: 0.5975 MB / 0.8781 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.002538, allocations: 269 kB / 0.8783 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.038e-05/0.002548, allocations: 0 / 0.8783 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.002558, allocations: 1.125 kB / 0.8783 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-06/0.002564, allocations: 0 / 0.8783 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.003013, allocations: 91.66 kB / 0.8784 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.099e-05/0.003044, allocations: 1.125 kB / 0.8784 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.003077, allocations: 7.984 kB / 0.8784 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.003104, allocations: 5.188 kB / 0.8784 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.027e-05/0.003124, allocations: 0 / 0.8784 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.003132, allocations: 0 / 0.8784 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.003389, allocations: 115.7 kB / 0.8786 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.003398, allocations: 3.375 kB / 0.8786 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.132e-05/0.003409, allocations: 0 / 0.8786 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.003605, allocations: 87.75 kB / 0.8786 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003608, allocations: 0 / 0.8786 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003608, allocations: 0 / 0.8786 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.003614, allocations: 4 kB / 0.8786 GB, free: 5.305 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000403/0.004017, allocations: 356.2 kB / 0.879 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.004053, allocations: 11.97 kB / 0.879 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.004086, allocations: 0.9375 kB / 0.879 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.004199, allocations: 109.2 kB / 0.8791 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.004212, allocations: 1.906 kB / 0.8791 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.004222, allocations: 4.359 kB / 0.8791 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.738e-05/0.00431, allocations: 30.27 kB / 0.8791 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004318, allocations: 192 / 0.8791 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.004325, allocations: 1.875 kB / 0.8791 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.004329, allocations: 384 / 0.8791 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.004352, allocations: 7.875 kB / 0.8791 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.004496, allocations: 112.6 kB / 0.8792 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.905e-05/0.004555, allocations: 24.56 kB / 0.8793 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.004574, allocations: 7.688 kB / 0.8793 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.005134, allocations: 88 kB / 0.8794 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.005171, allocations: 33.39 kB / 0.8794 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.005172, allocations: 0 / 0.8794 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.005311, allocations: 37.64 kB / 0.8794 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.005352, allocations: 51.41 kB / 0.8795 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.005439, allocations: 142.2 kB / 0.8796 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.005458, allocations: 25.7 kB / 0.8796 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.005528, allocations: 135 kB / 0.8798 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.005553, allocations: 3.953 kB / 0.8798 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.005591, allocations: 23.36 kB / 0.8798 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002669/0.005858, allocations: 496.1 kB / 0.8803 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.005868, allocations: 0 / 0.8803 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-06/0.005877, allocations: 4 kB / 0.8803 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.005901, allocations: 7.688 kB / 0.8803 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005903, allocations: 0 / 0.8803 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.192e-05/0.005965, allocations: 41.64 kB / 0.8803 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005977, allocations: 10.91 kB / 0.8803 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.005981, allocations: 0 / 0.8803 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005992, allocations: 0 / 0.8803 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.936e-05/0.006032, allocations: 7.984 kB / 0.8803 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.006035, allocations: 0 / 0.8803 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.00605, allocations: 7.938 kB / 0.8803 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006055, allocations: 0 / 0.8803 GB, free: 3.363 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 (1): * Single equations (assignments): 1 * 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 0.0001035/0.006158, allocations: 156.5 kB / 0.8805 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.006168, allocations: 4 kB / 0.8805 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.006249, allocations: 44.62 kB / 0.8805 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.006251, allocations: 4.031 kB / 0.8805 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.006253, allocations: 0 / 0.8805 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.006255, allocations: 0 / 0.8805 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.006357, allocations: 112.6 kB / 0.8807 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006357, allocations: 0 / 0.8807 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.006369, allocations: 4 kB / 0.8807 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.00637, allocations: 0 / 0.8807 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.006375, allocations: 0 / 0.8807 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006376, allocations: 0 / 0.8807 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006377, allocations: 0 / 0.8807 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.213e-05/0.006469, allocations: 72.38 kB / 0.8807 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.006477, allocations: 8.031 kB / 0.8807 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006487, allocations: 4 kB / 0.8807 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.006494, allocations: 0 / 0.8807 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.006511, allocations: 3.938 kB / 0.8807 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.006515, allocations: 3.984 kB / 0.8807 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.006588, allocations: 123.2 kB / 0.8809 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006588, allocations: 0 / 0.8809 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002131/0.006801, allocations: 27.92 kB / 0.8809 GB, free: 2.73 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 (1): * Single equations (assignments): 1 * 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.0002493/0.00705, allocations: 147.1 kB / 0.881 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.007123, allocations: 11.69 kB / 0.881 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007125, allocations: 0 / 0.881 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.007138, allocations: 7.688 kB / 0.881 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.007255, allocations: 8.125 kB / 0.8811 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.007448, allocations: 87.94 kB / 0.8811 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.00751, allocations: 55.36 kB / 0.8812 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.598e-06/0.007519, allocations: 3.938 kB / 0.8812 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.007537, allocations: 8.5 kB / 0.8812 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/0.007538, allocations: 0 / 0.8812 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.003275/0.01081, allocations: 0.6522 MB / 0.8818 GB, free: 1.688 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.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: 8.241033080033958]