Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.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.0009244/0.0009244, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009816/0.0009816, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9739/0.9739, allocations: 177.1 MB / 204.2 MB, free: 5.145 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.824/1.824, allocations: 359 MB / 0.6052 GB, free: 11.02 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.865e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001725/0.001744, allocations: 1.483 MB / 0.7885 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.002151, allocations: 237.2 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.002175, allocations: 0.5625 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002202, allocations: 1.312 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.002242, allocations: 7.938 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.002563, allocations: 59.75 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.00262, allocations: 20.95 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.002699, allocations: 8 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.002746, allocations: 21.31 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.002778, allocations: 7.984 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.002789, allocations: 0 / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.002903, allocations: 51.95 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.002917, allocations: 1.094 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.002939, allocations: 15.92 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.003068, allocations: 55.8 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00307, allocations: 0.9688 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00307, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003074, allocations: 0 / 0.789 GB, free: 10.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003255/0.0034, allocations: 369.3 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.003436, allocations: 10.5 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.003472, allocations: 8.891 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.462e-05/0.003547, allocations: 108.6 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.003556, allocations: 384 / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.003567, allocations: 4.375 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.003677, allocations: 50.95 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.003685, allocations: 192 / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003694, allocations: 2.125 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.003701, allocations: 4.359 kB / 0.7895 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.003733, allocations: 23.86 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.004004, allocations: 247.8 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.004053, allocations: 35.69 kB / 0.7898 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.004072, allocations: 8.25 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.004361, allocations: 77.8 kB / 0.7899 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.00438, allocations: 34.55 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.004381, allocations: 0 / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001328/0.004514, allocations: 53.52 kB / 0.79 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.004538, allocations: 52.78 kB / 0.7901 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.004602, allocations: 157.9 kB / 0.7902 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.004611, allocations: 25.7 kB / 0.7902 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.00465, allocations: 128.7 kB / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.004668, allocations: 15.94 kB / 0.7904 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.004693, allocations: 15.38 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.004846, allocations: 496.1 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.004858, allocations: 0 / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/0.004867, allocations: 1.406 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.004897, allocations: 23.62 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004898, allocations: 0 / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.085e-05/0.004949, allocations: 40.16 kB / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.004961, allocations: 4 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004966, allocations: 3.938 kB / 0.7909 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.004979, allocations: 0 / 0.7909 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.005031, allocations: 4 kB / 0.7909 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.005037, allocations: 6.594 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.005055, allocations: 7.984 kB / 0.7909 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.005061, allocations: 0 / 0.7909 GB, free: 8.363 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 (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.958e-05/0.005131, allocations: 156.6 kB / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.005143, allocations: 0 / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.005228, allocations: 52.88 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.00523, allocations: 0.5312 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.005233, allocations: 0 / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005236, allocations: 0.7188 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.755e-05/0.005323, allocations: 116.6 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005324, allocations: 0.5312 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.005343, allocations: 9.656 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005344, allocations: 0 / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.00535, allocations: 0 / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.005351, allocations: 3.938 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005352, allocations: 0.9062 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.662e-05/0.005439, allocations: 195.8 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-06/0.005444, allocations: 4.781 kB / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.005452, allocations: 0 / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.005484, allocations: 17.14 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.005513, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.005515, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.005546, allocations: 123.2 kB / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005546, allocations: 0.8438 kB / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001527/0.005699, allocations: 19.92 kB / 0.7916 GB, free: 7.609 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 (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.0001333/0.005832, allocations: 121.7 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.005899, allocations: 17.55 kB / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.0059, allocations: 0 / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.005916, allocations: 15.62 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.006078, allocations: 4 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.006311, allocations: 120.7 kB / 0.7919 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.006343, allocations: 55.36 kB / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.006357, allocations: 0 / 0.7919 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.006377, allocations: 12.5 kB / 0.7919 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.006377, allocations: 0.5 kB / 0.7919 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.002167/0.008544, allocations: 0.6954 MB / 0.7926 GB, free: 6.539 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.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.062482169829309]