Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.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.001346/0.001346, allocations: 81.86 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.001318/0.001318, allocations: 185 kB / 24.09 MB, free: 416 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.9601/0.9601, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.786/1.786, allocations: 359 MB / 0.6055 GB, free: 10.88 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.636e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003086/0.003122, allocations: 1.485 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.00362, allocations: 241.2 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.003658, allocations: 3.938 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.003682, allocations: 0 / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.003722, allocations: 0.9375 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.004014, allocations: 65.22 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.612e-05/0.004061, allocations: 23.91 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.004123, allocations: 8 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.004169, allocations: 15.92 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.551e-05/0.004194, allocations: 7.25 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.004203, allocations: 0 / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.004305, allocations: 63.86 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.004319, allocations: 4 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.004333, allocations: 7.938 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.724e-05/0.00443, allocations: 59.84 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004432, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004433, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.826e-06/0.004436, allocations: 0 / 0.7895 GB, free: 10.2 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.0002829/0.004719, allocations: 361.6 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.004752, allocations: 8.031 kB / 0.7898 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.004775, allocations: 9.484 kB / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.004846, allocations: 116.6 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.004856, allocations: 5.719 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-06/0.00486, allocations: 384 / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.924e-05/0.00495, allocations: 50.95 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.004956, allocations: 1.719 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.004961, allocations: 384 / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004967, allocations: 4.359 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.004984, allocations: 7.938 kB / 0.79 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.005182, allocations: 233.9 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.00522, allocations: 31.06 kB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.005237, allocations: 11.72 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.005499, allocations: 74.05 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.005519, allocations: 39.45 kB / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.00552, allocations: 0 / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001079/0.005628, allocations: 49.47 kB / 0.7905 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.00565, allocations: 51.41 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.005707, allocations: 161.9 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.005716, allocations: 26.23 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.00575, allocations: 131.6 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.005765, allocations: 11.89 kB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.005787, allocations: 16.88 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.005895, allocations: 0.4923 MB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.005902, allocations: 0 / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.005909, allocations: 0 / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.854e-05/0.005928, allocations: 12.31 kB / 0.7913 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.005931, allocations: 4.969 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.103e-05/0.005972, allocations: 45.62 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.005981, allocations: 8.75 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.005985, allocations: 192 / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.005996, allocations: 4.531 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.9e-05/0.006035, allocations: 5.344 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006038, allocations: 0 / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.006053, allocations: 7.984 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.006056, allocations: 0 / 0.7914 GB, free: 8.055 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 5.804e-05/0.006114, allocations: 157.6 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.006124, allocations: 4 kB / 0.7916 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.006184, allocations: 49.81 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006185, allocations: 3.938 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006187, allocations: 0.8438 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006189, allocations: 0 / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.898e-05/0.006268, allocations: 95.39 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006269, allocations: 0 / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.006286, allocations: 7.984 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.006286, allocations: 0 / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-06/0.00629, allocations: 0 / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.00629, allocations: 0 / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00629, allocations: 4.5 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.006365, allocations: 194.4 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-06/0.006369, allocations: 0 / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.006376, allocations: 4 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.006403, allocations: 3.938 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.006422, allocations: 0 / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006425, allocations: 7.938 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.006467, allocations: 128.8 kB / 0.792 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006467, allocations: 0 / 0.792 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001476/0.006614, allocations: 19.94 kB / 0.7921 GB, free: 7.332 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.0001402/0.006754, allocations: 121.1 kB / 0.7922 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.943e-05/0.006804, allocations: 12.25 kB / 0.7922 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006805, allocations: 4 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.006817, allocations: 8.781 kB / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.006966, allocations: 4.656 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.007132, allocations: 119.2 kB / 0.7923 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.912e-05/0.007161, allocations: 59.28 kB / 0.7924 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.274e-05/0.007174, allocations: 7.781 kB / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.007208, allocations: 70.2 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.007208, allocations: 0 / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.001937/0.009145, allocations: 0.777 MB / 0.7932 GB, free: 6.109 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.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.992060473188758]