Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.001899/0.001899, allocations: 85.48 kB / 19.44 MB, free: 344 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.002048/0.002048, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.366/3.366, 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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.917e-05, allocations: 5.156 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003022/0.003051, allocations: 1.471 MB / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007799/0.003831, allocations: 337.2 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.003861, allocations: 4 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.003886, allocations: 3.938 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.003929, allocations: 1.594 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.004393, allocations: 107.6 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.004456, allocations: 19.92 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.004537, allocations: 10.75 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.0046, allocations: 15.97 kB / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.004634, allocations: 4 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.004646, allocations: 0 / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.004903, allocations: 131.7 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.004921, allocations: 7.984 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.004939, allocations: 0 / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.005184, allocations: 111.6 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.005187, allocations: 5.781 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005189, allocations: 0 / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005193, allocations: 0 / 0.8796 GB, free: 4.434 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.0005234/0.005716, allocations: 372.2 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.00575, allocations: 8.688 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.005794, allocations: 8.938 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.005924, allocations: 122.1 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.005935, allocations: 384 / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.005943, allocations: 384 / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.006102, allocations: 46.23 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.006111, allocations: 0.875 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.006118, allocations: 384 / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.006122, allocations: 5.219 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.006239, allocations: 23.92 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.006594, allocations: 247.8 kB / 0.8804 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.006725, allocations: 47.03 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.006794, allocations: 19.73 kB / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.007386, allocations: 91.91 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.007421, allocations: 37.39 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.007422, allocations: 0 / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003023/0.007724, allocations: 73.55 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.007769, allocations: 51.41 kB / 0.8807 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.007908, allocations: 157.9 kB / 0.8809 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.00793, allocations: 29.7 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.008016, allocations: 131 kB / 0.881 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.008035, allocations: 15.89 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.00808, allocations: 19.38 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.008335, allocations: 496.1 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.008394, allocations: 11.98 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.605e-05/0.00844, allocations: 8 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.909e-05/0.008539, allocations: 27.67 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008541, allocations: 0 / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001544/0.008695, allocations: 69.67 kB / 0.8816 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.00871, allocations: 4 kB / 0.8816 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.008717, allocations: 3.938 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.00873, allocations: 0 / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.008803, allocations: 4 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.008811, allocations: 4 kB / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.008842, allocations: 0 / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.008847, allocations: 0 / 0.8817 GB, free: 2.137 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 0.0001157/0.008962, allocations: 160.6 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.008989, allocations: 4.141 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.009174, allocations: 72.95 kB / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.009178, allocations: 7.984 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.009181, allocations: 0 / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.009183, allocations: 3.938 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.00934, allocations: 112.6 kB / 0.882 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009341, allocations: 0 / 0.882 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.009387, allocations: 7.984 kB / 0.882 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.009388, allocations: 0 / 0.882 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.009395, allocations: 4 kB / 0.882 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.009398, allocations: 7.969 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009399, allocations: 0 / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.009641, allocations: 199.9 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.009647, allocations: 0 / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.009658, allocations: 0 / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.009735, allocations: 11.94 kB / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.009772, allocations: 0 / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.009778, allocations: 3.984 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.29e-05/0.009851, allocations: 123.2 kB / 0.8823 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009851, allocations: 0 / 0.8823 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002541/0.01011, allocations: 43.78 kB / 0.8824 GB, free: 1.316 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.0002768/0.01038, allocations: 139.2 kB / 0.8825 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.01056, allocations: 39.66 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01056, allocations: 0 / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.01063, allocations: 19.69 kB / 0.8826 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.01087, allocations: 7.984 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.0112, allocations: 110.3 kB / 0.8827 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.722e-05/0.01127, allocations: 59.34 kB / 0.8827 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.0113, allocations: 7.938 kB / 0.8828 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.01132, allocations: 12.62 kB / 0.8828 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.01132, allocations: 0 / 0.8828 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of Templates: time 0.004117/0.01544, allocations: 0.9418 MB / 0.8837 GB, free: 15.93 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.30727183201816]