Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009279/0.0009279, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009706/0.0009706, allocations: 181 kB / 24.09 MB, free: 420 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.972/0.972, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.78/1.78, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.325e-05, allocations: 6.969 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0009465/0.0009598, allocations: 0.5968 MB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.001387, allocations: 253.5 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.543e-05/0.001402, allocations: 1.406 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.001418, allocations: 0 / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.001425, allocations: 0 / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.001768, allocations: 103.6 kB / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.156e-05/0.0018, allocations: 0.875 kB / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.966e-05/0.001829, allocations: 0 / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.001854, allocations: 4.531 kB / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.873e-05/0.001873, allocations: 0.7812 kB / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.001881, allocations: 0 / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.002057, allocations: 115.8 kB / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.002067, allocations: 0.9375 kB / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.378e-06/0.002077, allocations: 3.938 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.002207, allocations: 92.36 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.002209, allocations: 0 / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002209, allocations: 1.656 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.002213, allocations: 0 / 0.7887 GB, free: 10.98 MB / 0.7448 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.0002194/0.002433, allocations: 352.2 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.002466, allocations: 12.02 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.002488, allocations: 2.531 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.382e-05/0.002541, allocations: 108.6 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.00255, allocations: 4.375 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-06/0.002555, allocations: 384 / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.542e-05/0.00261, allocations: 31.33 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.002616, allocations: 4.188 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.002622, allocations: 4.359 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.002627, allocations: 3.5 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-06/0.002636, allocations: 3.938 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.66e-05/0.002713, allocations: 93.27 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.795e-05/0.002741, allocations: 27.05 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.134e-05/0.002752, allocations: 11.67 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.003047, allocations: 77.27 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.003071, allocations: 46.52 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.003072, allocations: 0 / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.087e-05/0.003163, allocations: 34.23 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.003185, allocations: 51.41 kB / 0.7896 GB, free: 10 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.777e-05/0.003222, allocations: 143.6 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.003231, allocations: 25.7 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.003259, allocations: 126.9 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.003282, allocations: 5.156 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.003302, allocations: 15.38 kB / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.003414, allocations: 0.4922 MB / 0.7904 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.003419, allocations: 0.9688 kB / 0.7904 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-06/0.003422, allocations: 4 kB / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/0.003442, allocations: 17.34 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003443, allocations: 0 / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.042e-05/0.003474, allocations: 33.7 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.003483, allocations: 4 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.003486, allocations: 1.281 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.003496, allocations: 0 / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.783e-05/0.003524, allocations: 4 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.003529, allocations: 4.484 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-06/0.003535, allocations: 0 / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.003539, allocations: 7.422 kB / 0.7904 GB, free: 9.082 MB / 0.7448 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.443e-05/0.003594, allocations: 160.5 kB / 0.7906 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-06/0.003598, allocations: 4.344 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.003645, allocations: 36.64 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.003647, allocations: 0 / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.003648, allocations: 0 / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.003651, allocations: 3.984 kB / 0.7906 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.031e-05/0.003702, allocations: 97.16 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.003702, allocations: 0.5312 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.003707, allocations: 4.5 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.003708, allocations: 0 / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-06/0.003711, allocations: 0.5625 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.003711, allocations: 0.5625 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.003712, allocations: 0 / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.683e-05/0.003758, allocations: 81.72 kB / 0.7908 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-06/0.003761, allocations: 0 / 0.7908 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-06/0.003766, allocations: 0 / 0.7908 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-06/0.003769, allocations: 0.625 kB / 0.7908 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-06/0.003777, allocations: 4 kB / 0.7908 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.003779, allocations: 5.688 kB / 0.7908 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.863e-05/0.003807, allocations: 123.2 kB / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003807, allocations: 0 / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001274/0.003935, allocations: 23.94 kB / 0.791 GB, free: 8.484 MB / 0.7448 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.0001573/0.004092, allocations: 154.8 kB / 0.7911 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.365e-05/0.004136, allocations: 7.688 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.004138, allocations: 5.344 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.302e-06/0.004144, allocations: 11.62 kB / 0.7911 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.889e-05/0.004223, allocations: 4.812 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001223/0.004345, allocations: 87.95 kB / 0.7912 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.468e-05/0.00437, allocations: 57.56 kB / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.245e-06/0.004378, allocations: 0 / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.004406, allocations: 70.2 kB / 0.7913 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/0.004406, allocations: 0 / 0.7913 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.001987/0.006394, allocations: 0.7418 MB / 0.7921 GB, free: 7.309 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.723994424100965]