Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001397/0.001397, allocations: 92.22 kB / 19.65 MB, free: 276 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.001738/0.001738, allocations: 173 kB / 23.02 MB, free: 1.547 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.9541/0.9541, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.061/2.061, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.341e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.00113/0.001153, allocations: 0.6088 MB / 0.8788 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.001918, allocations: 272.1 kB / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.001931, allocations: 0 / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.001946, allocations: 0 / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.001952, allocations: 0 / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.002359, allocations: 109.3 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.688e-05/0.002395, allocations: 0 / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.002429, allocations: 1.031 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.002449, allocations: 0 / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.01e-05/0.002469, allocations: 3.984 kB / 0.8792 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.00248, allocations: 5.125 kB / 0.8792 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.002683, allocations: 123.7 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.002695, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.00271, allocations: 1.094 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.002856, allocations: 91.73 kB / 0.8794 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002859, allocations: 0 / 0.8794 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002859, allocations: 1 kB / 0.8794 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.002863, allocations: 0 / 0.8794 GB, free: 5.078 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.0002407/0.003104, allocations: 356.2 kB / 0.8797 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.003136, allocations: 12.69 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.003164, allocations: 1.531 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.805e-05/0.003212, allocations: 104.6 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.00322, allocations: 1.562 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.003228, allocations: 12.3 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.608e-05/0.003294, allocations: 30.25 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.0033, allocations: 0.8125 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.003308, allocations: 1.719 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.003313, allocations: 384 / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.285e-05/0.003326, allocations: 7.938 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.89e-05/0.003415, allocations: 112.6 kB / 0.88 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.003449, allocations: 28.56 kB / 0.88 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.003463, allocations: 11.62 kB / 0.8801 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.003841, allocations: 101.2 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.00386, allocations: 37.38 kB / 0.8802 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.003862, allocations: 0 / 0.8802 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.69e-05/0.003958, allocations: 29.7 kB / 0.8802 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.003983, allocations: 55.41 kB / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.313e-05/0.004016, allocations: 142.2 kB / 0.8804 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.004027, allocations: 29.7 kB / 0.8804 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.004053, allocations: 127.6 kB / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.004077, allocations: 4.297 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.004099, allocations: 19.5 kB / 0.8806 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002501/0.004349, allocations: 0.4922 MB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.004361, allocations: 7.922 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-06/0.004366, allocations: 0 / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.004392, allocations: 11.69 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.004395, allocations: 4 kB / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.194e-05/0.004437, allocations: 33.7 kB / 0.8811 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.00445, allocations: 8 kB / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.004453, allocations: 0 / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.004462, allocations: 0 / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.832e-05/0.0045, allocations: 4.094 kB / 0.8811 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004504, allocations: 0 / 0.8811 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-06/0.004512, allocations: 3.938 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.004518, allocations: 4 kB / 0.8811 GB, free: 3.117 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 5.477e-05/0.004573, allocations: 160.5 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-06/0.004577, allocations: 0 / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.004635, allocations: 32.7 kB / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.004636, allocations: 0 / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00464, allocations: 0 / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004642, allocations: 4 kB / 0.8813 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.631e-05/0.004698, allocations: 120.6 kB / 0.8814 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.004699, allocations: 0 / 0.8814 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-06/0.004707, allocations: 0 / 0.8814 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.004709, allocations: 4 kB / 0.8814 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.004714, allocations: 0 / 0.8814 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.004715, allocations: 0 / 0.8814 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.004717, allocations: 0 / 0.8814 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.49e-05/0.004761, allocations: 80.28 kB / 0.8815 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.004767, allocations: 3.938 kB / 0.8815 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-06/0.004774, allocations: 0 / 0.8815 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-06/0.004778, allocations: 4.031 kB / 0.8815 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.00479, allocations: 4 kB / 0.8815 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.004793, allocations: 4 kB / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.00482, allocations: 123.2 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00482, allocations: 0 / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001434/0.004963, allocations: 23.94 kB / 0.8817 GB, free: 2.488 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.0001689/0.005132, allocations: 143.1 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.005189, allocations: 11.69 kB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.005191, allocations: 0 / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-06/0.005197, allocations: 11.62 kB / 0.8818 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.784e-05/0.005285, allocations: 7.938 kB / 0.8818 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.005437, allocations: 83.95 kB / 0.8819 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.005464, allocations: 63.47 kB / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.899e-06/0.005474, allocations: 4 kB / 0.882 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.005486, allocations: 8.5 kB / 0.882 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.005487, allocations: 0 / 0.882 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of Templates: time 0.002579/0.008066, allocations: 0.7471 MB / 0.8827 GB, free: 1.348 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.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.240022866986692]