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.0009274/0.0009274, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.0008891/0.0008891, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9625/0.9625, allocations: 177.1 MB / 204.5 MB, free: 5.113 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.079/2.079, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.422e-06/1.422e-06, allocations: 0 / 0.8794 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.629e-05, allocations: 4.844 kB / 0.8794 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001014/0.00103, allocations: 0.6079 MB / 0.88 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004151/0.001445, allocations: 266.1 kB / 0.8803 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.436e-05/0.00146, allocations: 0 / 0.8803 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.001473, allocations: 0 / 0.8803 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.001479, allocations: 0.5 kB / 0.8803 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.001823, allocations: 98.73 kB / 0.8804 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.393e-05/0.001857, allocations: 4.984 kB / 0.8804 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.00189, allocations: 4 kB / 0.8804 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.00191, allocations: 4.828 kB / 0.8804 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 1.886e-05/0.001929, allocations: 0 / 0.8804 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.001936, allocations: 1.344 kB / 0.8804 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.002111, allocations: 114 kB / 0.8805 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.002123, allocations: 3.938 kB / 0.8805 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-06/0.002133, allocations: 4 kB / 0.8805 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.002259, allocations: 85.27 kB / 0.8806 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002261, allocations: 0 / 0.8806 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.873e-06/0.002263, allocations: 4 kB / 0.8806 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.002268, allocations: 0 / 0.8806 GB, free: 3.684 MB / 0.7917 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.0002637/0.002531, allocations: 353.6 kB / 0.8809 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.002565, allocations: 8.031 kB / 0.881 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.002591, allocations: 4.922 kB / 0.881 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.458e-05/0.002655, allocations: 112.6 kB / 0.8811 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.002666, allocations: 3.562 kB / 0.8811 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.002671, allocations: 384 / 0.8811 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.941e-05/0.00274, allocations: 34.2 kB / 0.8811 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.002749, allocations: 192 / 0.8811 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.002754, allocations: 384 / 0.8811 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.002759, allocations: 384 / 0.8811 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.078e-05/0.00277, allocations: 3.938 kB / 0.8811 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.76e-05/0.002858, allocations: 93.27 kB / 0.8812 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.002895, allocations: 27.06 kB / 0.8812 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.002911, allocations: 15.67 kB / 0.8812 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.00324, allocations: 72 kB / 0.8813 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.003273, allocations: 45.33 kB / 0.8813 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.003273, allocations: 0 / 0.8813 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.933e-05/0.003373, allocations: 33.7 kB / 0.8814 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.003401, allocations: 51.41 kB / 0.8814 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.003442, allocations: 142.2 kB / 0.8816 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.00345, allocations: 25.7 kB / 0.8816 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.003479, allocations: 126.9 kB / 0.8817 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.003508, allocations: 12.23 kB / 0.8817 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.003529, allocations: 15.38 kB / 0.8817 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.003648, allocations: 0.4883 MB / 0.8822 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-06/0.003655, allocations: 0 / 0.8822 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.003661, allocations: 4.125 kB / 0.8822 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.003687, allocations: 15.69 kB / 0.8822 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003689, allocations: 0 / 0.8822 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.883e-05/0.003728, allocations: 37.7 kB / 0.8823 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.003742, allocations: 4 kB / 0.8823 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.003746, allocations: 0 / 0.8823 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.003757, allocations: 0 / 0.8823 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.003791, allocations: 4 kB / 0.8823 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.003794, allocations: 0 / 0.8823 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.003803, allocations: 3.984 kB / 0.8823 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.003807, allocations: 32 / 0.8823 GB, free: 1.781 MB / 0.7917 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 6.626e-05/0.003873, allocations: 164.5 kB / 0.8824 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-06/0.003878, allocations: 4 kB / 0.8824 GB, free: 1.605 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.003935, allocations: 40.64 kB / 0.8825 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.003937, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.003939, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.003942, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.004215, allocations: 101.2 kB / 0.8826 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.004215, allocations: 0 / 0.8826 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.004224, allocations: 4 kB / 0.8826 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.004225, allocations: 4.031 kB / 0.8826 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.004229, allocations: 0 / 0.8826 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004229, allocations: 0 / 0.8826 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00423, allocations: 0 / 0.8826 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.648e-05/0.004287, allocations: 80.31 kB / 0.8827 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-06/0.004291, allocations: 0 / 0.8827 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-06/0.004297, allocations: 0 / 0.8827 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-06/0.0043, allocations: 0 / 0.8827 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.004311, allocations: 4 kB / 0.8827 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.004312, allocations: 0 / 0.8827 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.004343, allocations: 123.2 kB / 0.8828 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.004344, allocations: 4.031 kB / 0.8828 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001501/0.004494, allocations: 27.88 kB / 0.8828 GB, free: 1.168 MB / 0.7917 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.0001746/0.004668, allocations: 135.2 kB / 0.8829 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.00473, allocations: 19.69 kB / 0.883 GB, free: 1 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.004731, allocations: 0 / 0.883 GB, free: 1 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-06/0.004741, allocations: 15.62 kB / 0.883 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.1e-05/0.004832, allocations: 3.938 kB / 0.883 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.004982, allocations: 84.08 kB / 0.8831 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.005013, allocations: 55.34 kB / 0.8831 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.285e-06/0.005021, allocations: 0 / 0.8831 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.005049, allocations: 66.2 kB / 0.8832 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of SimCode: time 4.5e-07/0.005049, allocations: 0 / 0.8832 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of Templates: time 0.002139/0.007188, allocations: 0.7443 MB / 0.8839 GB, free: 15.98 MB / 0.8073 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.119847151916474]