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.0009302/0.0009302, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009064/0.0009064, allocations: 169 kB / 23.02 MB, free: 1.551 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.9466/0.9466, allocations: 177.1 MB / 203.4 MB, free: 5.254 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.077/2.077, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.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 1.182e-06/1.182e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.055e-05, allocations: 7.219 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001057/0.001078, allocations: 0.6071 MB / 0.8788 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004687/0.001547, allocations: 266.6 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.001562, allocations: 0 / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.00158, allocations: 0.5 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.001586, allocations: 1.875 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.002001, allocations: 101.8 kB / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.002041, allocations: 0 / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.002073, allocations: 0 / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.002096, allocations: 7.984 kB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.818e-05/0.002114, allocations: 5.281 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.002125, allocations: 0 / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.002321, allocations: 115.8 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.002333, allocations: 0 / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.002346, allocations: 1.188 kB / 0.8793 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.002486, allocations: 87.75 kB / 0.8794 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002488, allocations: 0 / 0.8794 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002489, allocations: 1.594 kB / 0.8794 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.002492, allocations: 3.938 kB / 0.8794 GB, free: 5.098 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.0002328/0.002725, allocations: 356.2 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.00276, allocations: 8.031 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.002788, allocations: 3.344 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.082e-05/0.002839, allocations: 108.6 kB / 0.8798 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.002849, allocations: 4.375 kB / 0.8798 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.002858, allocations: 384 / 0.8798 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.005e-05/0.002928, allocations: 30.2 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.002936, allocations: 4.172 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.002943, allocations: 2.5 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.002949, allocations: 384 / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.358e-05/0.002963, allocations: 7.938 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.682e-05/0.00305, allocations: 104.6 kB / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.392e-05/0.003084, allocations: 27.09 kB / 0.88 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.003099, allocations: 15.69 kB / 0.88 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/0.003455, allocations: 71.98 kB / 0.8801 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.003477, allocations: 49.31 kB / 0.8801 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.003478, allocations: 0 / 0.8801 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.874e-05/0.003577, allocations: 29.7 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.003599, allocations: 55.53 kB / 0.8802 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.613e-05/0.003635, allocations: 142.2 kB / 0.8804 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.003644, allocations: 25.7 kB / 0.8804 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.003671, allocations: 130.9 kB / 0.8805 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.003699, allocations: 4.297 kB / 0.8805 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.003721, allocations: 19.38 kB / 0.8805 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.003838, allocations: 0.4883 MB / 0.881 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.003846, allocations: 4 kB / 0.881 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.003851, allocations: 0 / 0.881 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.003879, allocations: 19.62 kB / 0.881 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.003881, allocations: 4.062 kB / 0.881 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.498e-05/0.003916, allocations: 29.7 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.003929, allocations: 4 kB / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.003933, allocations: 0 / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.003946, allocations: 0 / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.003986, allocations: 7.938 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.003992, allocations: 0 / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.004001, allocations: 7.922 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.004006, allocations: 0 / 0.8811 GB, free: 3.16 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.0003468/0.004353, allocations: 164.6 kB / 0.8812 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-06/0.004356, allocations: 4.031 kB / 0.8812 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.004429, allocations: 36.64 kB / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.004431, allocations: 0 / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.004434, allocations: 0 / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004437, allocations: 0 / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.696e-05/0.004494, allocations: 120.5 kB / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004495, allocations: 0 / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.004501, allocations: 0 / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004502, allocations: 0 / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.004507, allocations: 0 / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004508, allocations: 32 / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.004508, allocations: 8 kB / 0.8814 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.881e-05/0.004557, allocations: 76.31 kB / 0.8815 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-06/0.004561, allocations: 4 kB / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-06/0.004567, allocations: 0 / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-06/0.004571, allocations: 0 / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.004582, allocations: 0 / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.004583, allocations: 0 / 0.8815 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.004612, allocations: 123.2 kB / 0.8816 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.004612, allocations: 0 / 0.8816 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001426/0.004755, allocations: 27.94 kB / 0.8816 GB, free: 2.531 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.0001675/0.004922, allocations: 154.2 kB / 0.8818 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.243e-05/0.004974, allocations: 11.69 kB / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.004976, allocations: 4.062 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.004981, allocations: 7.688 kB / 0.8818 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.318e-05/0.005074, allocations: 7.938 kB / 0.8818 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001534/0.005228, allocations: 79.95 kB / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.843e-05/0.005256, allocations: 55.34 kB / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.005267, allocations: 8 kB / 0.8819 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.005282, allocations: 12.44 kB / 0.8819 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/0.005283, allocations: 0 / 0.8819 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of Templates: time 0.00199/0.007273, allocations: 0.6501 MB / 0.8826 GB, free: 1.484 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","",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.297691551037133]