Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0008352/0.0008352, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001914, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007133/0.0007133, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009841/0.001697, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9576/0.9576, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0871/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.473/2.473, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.29/2.763, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.168e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001488/0.001509, allocations: 0.6562 MB / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.001803, allocations: 175.3 kB / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.011e-05/0.001813, allocations: 0 / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-06/0.001817, allocations: 0 / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.002e-06/0.001818, allocations: 0 / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.002036, allocations: 47.83 kB / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.115e-05/0.002077, allocations: 0 / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.002113, allocations: 4 kB / 0.8192 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.002149, allocations: 3.984 kB / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.002174, allocations: 3.938 kB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.002183, allocations: 0 / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.002362, allocations: 59.94 kB / 0.8193 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.00237, allocations: 0 / 0.8193 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.052e-05/0.002381, allocations: 0 / 0.8193 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.002503, allocations: 43.83 kB / 0.8193 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.002519, allocations: 0 / 0.8193 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002519, allocations: 4 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.282e-05/0.002542, allocations: 0 / 0.8193 GB, free: 1.844 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.00028/0.002822, allocations: 228.6 kB / 0.8195 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.002855, allocations: 8.625 kB / 0.8196 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.002879, allocations: 0.9375 kB / 0.8196 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.677e-05/0.002946, allocations: 109.8 kB / 0.8197 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.002957, allocations: 384 / 0.8197 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-06/0.002962, allocations: 384 / 0.8197 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.003044, allocations: 30.27 kB / 0.8197 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.003052, allocations: 4.188 kB / 0.8197 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.003058, allocations: 384 / 0.8197 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.003064, allocations: 4.375 kB / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.00308, allocations: 7.875 kB / 0.8197 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.632e-05/0.003156, allocations: 61.03 kB / 0.8198 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.349e-05/0.00319, allocations: 14.58 kB / 0.8198 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.003204, allocations: 8.844 kB / 0.8198 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/0.003611, allocations: 72.03 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.003637, allocations: 30.56 kB / 0.8199 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.003638, allocations: 0 / 0.8199 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.825e-05/0.003737, allocations: 37.62 kB / 0.8199 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.003767, allocations: 51.41 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.995e-05/0.003797, allocations: 89.86 kB / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.003807, allocations: 29.7 kB / 0.8201 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.003834, allocations: 80.14 kB / 0.8202 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.003866, allocations: 3.938 kB / 0.8202 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.003889, allocations: 9.719 kB / 0.8202 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.004015, allocations: 322.9 kB / 0.8205 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.004023, allocations: 4 kB / 0.8205 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.004028, allocations: 0 / 0.8205 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.004054, allocations: 12.84 kB / 0.8205 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.004057, allocations: 0 / 0.8205 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.669e-05/0.004103, allocations: 33.64 kB / 0.8205 GB, free: 472 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.004115, allocations: 6.5 kB / 0.8205 GB, free: 468 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00412, allocations: 0 / 0.8205 GB, free: 468 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.004131, allocations: 4 kB / 0.8205 GB, free: 464 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.728e-05/0.004168, allocations: 0 / 0.8205 GB, free: 464 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.004172, allocations: 8.094 kB / 0.8205 GB, free: 456 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.00418, allocations: 0 / 0.8205 GB, free: 456 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.004186, allocations: 7.938 kB / 0.8206 GB, free: 448 kB / 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 5.759e-05/0.004243, allocations: 117.8 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-06/0.004247, allocations: 0 / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.004308, allocations: 36.64 kB / 0.8207 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004309, allocations: 0 / 0.8207 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.004311, allocations: 0 / 0.8207 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.004313, allocations: 0 / 0.8207 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.355e-05/0.004367, allocations: 69.83 kB / 0.8208 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.004368, allocations: 4.031 kB / 0.8208 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.004377, allocations: 0 / 0.8208 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.004385, allocations: 0 / 0.8208 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.004389, allocations: 4 kB / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.004392, allocations: 0 / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004393, allocations: 0 / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004394, allocations: 0 / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.841e-05/0.004442, allocations: 57.06 kB / 0.8208 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-06/0.00445, allocations: 4 kB / 0.8208 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-06/0.004456, allocations: 0 / 0.8208 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.004469, allocations: 4.031 kB / 0.8208 GB, free: 100 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.004511, allocations: 4 kB / 0.8208 GB, free: 96 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.873e-06/0.004518, allocations: 8.797 kB / 0.8208 GB, free: 84 kB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.004518, allocations: 0 / 0.8208 GB, free: 84 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001496/0.004668, allocations: 12 kB / 0.8209 GB, free: 72 kB / 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.0001658/0.004833, allocations: 104.3 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.004893, allocations: 16.84 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.004899, allocations: 7.984 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-06/0.004905, allocations: 4.859 kB / 0.821 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.381e-05/0.004959, allocations: 7.938 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001554/0.005114, allocations: 78.16 kB / 0.8211 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.00515, allocations: 55.36 kB / 0.8211 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.001e-05/0.00516, allocations: 3.984 kB / 0.8211 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.00519, allocations: 47.38 kB / 0.8212 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.005191, allocations: 0 / 0.8212 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.002482/0.007672, allocations: 484.5 kB / 0.8216 GB, free: 15.21 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.ref.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.135039341636002]