Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 189 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.819/2.819, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 59.91 kB / 1.061 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.8256, allocations: 160.8 MB / 1.218 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001902/0.8275, allocations: 0.595 MB / 1.219 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005117/0.828, allocations: 191 kB / 1.219 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.19e-05/0.828, allocations: 0 / 1.219 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.828, allocations: 4 kB / 1.219 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.828, allocations: 0 / 1.219 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.8285, allocations: 57.84 kB / 1.219 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.762e-05/0.8285, allocations: 1.125 kB / 1.219 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.8285, allocations: 5.156 kB / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.8286, allocations: 1.469 kB / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.8286, allocations: 0 / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.8286, allocations: 0 / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.8288, allocations: 65.77 kB / 1.219 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.8288, allocations: 0 / 1.219 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.8288, allocations: 5.25 kB / 1.219 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.8289, allocations: 36.34 kB / 1.219 GB, free: 2.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8289, allocations: 3.938 kB / 1.219 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8289, allocations: 0 / 1.219 GB, free: 2.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.8289, allocations: 0 / 1.219 GB, free: 2.957 MB / 0.92 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.0003601/0.8293, allocations: 316.4 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.8293, allocations: 9.219 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.8294, allocations: 0.9375 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.8295, allocations: 169.7 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.8295, allocations: 4.359 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.8295, allocations: 5.469 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.8296, allocations: 27.39 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.8296, allocations: 192 / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.8296, allocations: 5.156 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8296, allocations: 0 / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.84e-05/0.8296, allocations: 1.281 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.8298, allocations: 154.7 kB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.8299, allocations: 20.86 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.8299, allocations: 14 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007641/0.8306, allocations: 451.1 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.8307, allocations: 31.66 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.8307, allocations: 0 / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.8308, allocations: 46.3 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.8308, allocations: 52.81 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.534e-05/0.8309, allocations: 93.8 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.8309, allocations: 29.7 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.8309, allocations: 81.42 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.831, allocations: 3.938 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.831, allocations: 11.81 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8311, allocations: 310.8 kB / 1.221 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.8311, allocations: 5.281 kB / 1.221 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.8311, allocations: 1.25 kB / 1.221 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.8312, allocations: 7.172 kB / 1.221 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8312, allocations: 1.125 kB / 1.221 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.215e-05/0.8312, allocations: 38.31 kB / 1.221 GB, free: 0.875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.8312, allocations: 5.125 kB / 1.221 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.8312, allocations: 0 / 1.221 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8312, allocations: 5.438 kB / 1.221 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-05/0.8313, allocations: 9.438 kB / 1.221 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8313, allocations: 0 / 1.221 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-06/0.8313, allocations: 1.281 kB / 1.221 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.8313, allocations: 0 / 1.221 GB, free: 0.8633 MB / 0.92 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 7.496e-05/0.8314, allocations: 111.1 kB / 1.221 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.8314, allocations: 1.375 kB / 1.221 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.8315, allocations: 48.78 kB / 1.221 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.8315, allocations: 3.984 kB / 1.221 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.8315, allocations: 4.031 kB / 1.221 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.8315, allocations: 1.219 kB / 1.221 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.8316, allocations: 145.7 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8316, allocations: 1.219 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.8316, allocations: 1.281 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.8316, allocations: 0 / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.8316, allocations: 5.25 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8316, allocations: 3.938 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8316, allocations: 0 / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.835e-05/0.8317, allocations: 60.08 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.8317, allocations: 81.09 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.8317, allocations: 5.094 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-06/0.8317, allocations: 4 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.8317, allocations: 1.219 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.8317, allocations: 0 / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of sorting global known variables: time 3.373e-05/0.8318, allocations: 75.28 kB / 1.222 GB, free: 248 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.8318, allocations: 1.188 kB / 1.222 GB, free: 248 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001939/0.832, allocations: 13.94 kB / 1.222 GB, free: 244 kB / 0.92 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.0002105/0.8322, allocations: 122.4 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.901e-05/0.8323, allocations: 7.75 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8323, allocations: 0 / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.8323, allocations: 2.781 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.8324, allocations: 9.406 kB / 1.222 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001803/0.8326, allocations: 82 kB / 1.222 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.8329, allocations: 0.67 MB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.277e-06/0.8329, allocations: 1.406 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.8329, allocations: 7.438 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8329, allocations: 1.219 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.002811/0.8357, allocations: 409.6 kB / 1.223 GB, free: 15.11 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.819556340575218]