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.001599/0.001599, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001175/0.001175, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.932/0.932, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.664/1.664, allocations: 359 MB / 0.6052 GB, free: 11.03 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 2.034e-06/2.034e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.925e-05, allocations: 7.25 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003016/0.003045, allocations: 1.493 MB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005621/0.003607, allocations: 241.5 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.003636, allocations: 0.5938 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.003672, allocations: 0 / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.003722, allocations: 4.656 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.004164, allocations: 52.64 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.004239, allocations: 23.91 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.004332, allocations: 9.094 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.004389, allocations: 15.92 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.004426, allocations: 3.984 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.004441, allocations: 4.562 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.004599, allocations: 56.67 kB / 0.789 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.004619, allocations: 11.97 kB / 0.789 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.004641, allocations: 3.938 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.004807, allocations: 61.02 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.004811, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004812, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.004817, allocations: 0.5625 kB / 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.0004432/0.00526, allocations: 367.3 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.005301, allocations: 15.97 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.005351, allocations: 4.891 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.005456, allocations: 108.6 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.005469, allocations: 384 / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.005479, allocations: 384 / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.005645, allocations: 58.94 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005653, allocations: 1.625 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005663, allocations: 384 / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.005672, allocations: 4.375 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.005713, allocations: 7.938 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.006055, allocations: 248.3 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.742e-05/0.006122, allocations: 39.97 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.006147, allocations: 7.688 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.006562, allocations: 74.08 kB / 0.7899 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.00659, allocations: 35.2 kB / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.006591, allocations: 0 / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.006773, allocations: 53.52 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.006807, allocations: 55.41 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.006899, allocations: 159.5 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.006912, allocations: 25.7 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.006969, allocations: 134.9 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.006989, allocations: 3.953 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.007025, allocations: 19.91 kB / 0.7904 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.007166, allocations: 496.1 kB / 0.7909 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.007185, allocations: 5.906 kB / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.007196, allocations: 0 / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.007232, allocations: 15.67 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007234, allocations: 0 / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.415e-05/0.007318, allocations: 44.17 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.007333, allocations: 8 kB / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.00734, allocations: 3.938 kB / 0.7909 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.007356, allocations: 0 / 0.7909 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.007442, allocations: 7.984 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007448, allocations: 0 / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.007475, allocations: 8.531 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.007481, allocations: 0.7188 kB / 0.791 GB, free: 8.375 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 7.843e-05/0.007559, allocations: 157 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.007583, allocations: 4 kB / 0.7911 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.007692, allocations: 54.5 kB / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007695, allocations: 0 / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007698, allocations: 0 / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.0077, allocations: 0 / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.007835, allocations: 117.2 kB / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007837, allocations: 0 / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.00788, allocations: 4.688 kB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.007882, allocations: 0.6875 kB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.007892, allocations: 4 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.007895, allocations: 8.844 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.007897, allocations: 3.984 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.008029, allocations: 185 kB / 0.7915 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.008037, allocations: 4 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.008048, allocations: 0 / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.008108, allocations: 8.484 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.008149, allocations: 8.844 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.008152, allocations: 0 / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.008196, allocations: 123.2 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008197, allocations: 0.8438 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000269/0.008466, allocations: 19.98 kB / 0.7916 GB, free: 7.621 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.00021/0.008676, allocations: 113.7 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.008778, allocations: 21.86 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00878, allocations: 0 / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.008797, allocations: 11.69 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008967, allocations: 4 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.0092, allocations: 120.4 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.131e-05/0.009231, allocations: 55.36 kB / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.489e-05/0.009246, allocations: 3.984 kB / 0.7919 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.009265, allocations: 8.5 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.009265, allocations: 0.5 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.002386/0.01165, allocations: 0.7631 MB / 0.7927 GB, free: 6.492 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: 4.80674512591213]