Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.0008498/0.0008498, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009191/0.0009191, allocations: 169 kB / 23.49 MB, free: 1.059 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.9432/0.9432, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.003/2.003, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.8e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001963/0.001991, allocations: 1.486 MB / 0.8796 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005682/0.002559, allocations: 336.3 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.002598, allocations: 3.438 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.002626, allocations: 3.938 kB / 0.88 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.002669, allocations: 3.938 kB / 0.88 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.003094, allocations: 95.7 kB / 0.8801 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.003164, allocations: 27.86 kB / 0.8801 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.003259, allocations: 7.938 kB / 0.8801 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.003317, allocations: 15.97 kB / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.003351, allocations: 4 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.003362, allocations: 0.5938 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.003528, allocations: 125 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.003544, allocations: 4 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.003563, allocations: 0 / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.00374, allocations: 103.7 kB / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.003744, allocations: 5.516 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/0.003746, allocations: 0 / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.003751, allocations: 3.938 kB / 0.8804 GB, free: 4.441 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.0003744/0.004125, allocations: 368.5 kB / 0.8807 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.004162, allocations: 13.28 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.004201, allocations: 4.875 kB / 0.8807 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.004295, allocations: 124.5 kB / 0.8808 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004306, allocations: 4.375 kB / 0.8808 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.004315, allocations: 4.375 kB / 0.8808 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.00444, allocations: 50.95 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004447, allocations: 192 / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.004457, allocations: 4.375 kB / 0.8809 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.004464, allocations: 384 / 0.8809 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.004493, allocations: 3.938 kB / 0.8809 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.004771, allocations: 251.8 kB / 0.8811 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.004821, allocations: 31.06 kB / 0.8812 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.004842, allocations: 7.688 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.005181, allocations: 87.97 kB / 0.8813 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.005204, allocations: 37.39 kB / 0.8813 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.005205, allocations: 0 / 0.8813 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001505/0.005355, allocations: 41.58 kB / 0.8813 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.005381, allocations: 51.53 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.005455, allocations: 169.9 kB / 0.8816 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.005465, allocations: 25.7 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.005509, allocations: 126.9 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.005525, allocations: 3.953 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.005556, allocations: 23.38 kB / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.005661, allocations: 496.1 kB / 0.8822 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.005678, allocations: 4 kB / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.005688, allocations: 0 / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.005718, allocations: 15.69 kB / 0.8822 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.00572, allocations: 4.062 kB / 0.8822 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.532e-05/0.005775, allocations: 37.64 kB / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.00579, allocations: 10.5 kB / 0.8823 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005795, allocations: 3.938 kB / 0.8823 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.005809, allocations: 7.984 kB / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.005879, allocations: 7.938 kB / 0.8823 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.005884, allocations: 0 / 0.8823 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.005902, allocations: 7.953 kB / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.005907, allocations: 3.984 kB / 0.8823 GB, free: 2.242 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 6.057e-05/0.005967, allocations: 156.6 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.005982, allocations: 11.98 kB / 0.8825 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.53e-05/0.006068, allocations: 48.89 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.00607, allocations: 0 / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.006074, allocations: 3.984 kB / 0.8825 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006077, allocations: 0 / 0.8825 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.942e-05/0.006166, allocations: 108.6 kB / 0.8826 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.006168, allocations: 0 / 0.8826 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.006192, allocations: 7.984 kB / 0.8826 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.006194, allocations: 0 / 0.8826 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.0062, allocations: 192 / 0.8826 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.006203, allocations: 11.97 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006204, allocations: 0 / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.873e-05/0.006293, allocations: 187.9 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.006298, allocations: 4 kB / 0.8828 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-06/0.006307, allocations: 0 / 0.8828 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.934e-05/0.006337, allocations: 3.938 kB / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.006377, allocations: 11.94 kB / 0.8828 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.00638, allocations: 0 / 0.8828 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.006415, allocations: 127.2 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006416, allocations: 0 / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001773/0.006593, allocations: 35.92 kB / 0.883 GB, free: 1.465 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.0002012/0.006794, allocations: 135.1 kB / 0.8831 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.006876, allocations: 27.67 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006877, allocations: 0 / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.006893, allocations: 11.69 kB / 0.8831 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.00707, allocations: 4 kB / 0.8832 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.007353, allocations: 110.3 kB / 0.8833 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.007386, allocations: 55.36 kB / 0.8833 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.644e-05/0.007402, allocations: 0 / 0.8833 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.007424, allocations: 16.42 kB / 0.8833 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/0.007425, allocations: 4.125 kB / 0.8833 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of Templates: time 0.002539/0.009964, allocations: 0.9196 MB / 0.8842 GB, free: 128 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.15216300310567]