Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001889/0.001889, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.002475/0.002475, allocations: 216.6 kB / 23 MB, free: 4.969 MB / 14.72 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 1.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.333/3.333, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 68.36 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001834/0.3651, allocations: 0.5907 MB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005385/0.3656, allocations: 183.8 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.19e-05/0.3657, allocations: 0 / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.3657, allocations: 4 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.3657, allocations: 0 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.3661, allocations: 62.69 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.519e-05/0.3661, allocations: 4 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.3662, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.175e-05/0.3662, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.112e-05/0.3662, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.882e-06/0.3662, allocations: 4 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3664, allocations: 59.86 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.3664, allocations: 0 / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.3664, allocations: 4 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3666, allocations: 47.88 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3666, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3666, allocations: 3.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3666, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 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.0003123/0.3669, allocations: 246.3 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3669, allocations: 8.031 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.3669, allocations: 0.9375 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.428e-05/0.367, allocations: 102.5 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3671, allocations: 384 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3671, allocations: 4.375 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.894e-05/0.3672, allocations: 30.27 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3672, allocations: 192 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3672, allocations: 3.938 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3672, allocations: 3.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.3672, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.3673, allocations: 101.3 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.387e-05/0.3674, allocations: 22.55 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.3674, allocations: 4.859 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.368, allocations: 75.98 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3681, allocations: 34.55 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 3.246e-06/0.3681, allocations: 3.984 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.3682, allocations: 41.58 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3683, allocations: 51.41 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.3683, allocations: 89.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3683, allocations: 25.7 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.3684, allocations: 84.27 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3684, allocations: 7.953 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.3684, allocations: 13.72 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3686, allocations: 310.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.3686, allocations: 3.984 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-06/0.3686, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.3686, allocations: 4.859 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3686, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.009e-05/0.3687, allocations: 45.58 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3687, allocations: 8.094 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3687, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3687, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.3687, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3687, allocations: 3.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.007e-05/0.3688, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3688, allocations: 3.984 kB / 1.329 GB, free: 14.48 MB / 1.029 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 9.561e-05/0.3689, allocations: 106.4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-06/0.3689, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.3689, allocations: 32.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.369, allocations: 4.031 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.369, allocations: 3.938 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.369, allocations: 3.984 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.369, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-06/0.369, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.369, allocations: 11.94 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.174e-05/0.3691, allocations: 105 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001313/0.3692, allocations: 206.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.072e-05/0.3692, allocations: 7.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.3693, allocations: 75.34 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Backend: time 2.4e-07/0.3693, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.3697, allocations: 98.27 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004497/0.3702, allocations: 0.5292 MB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Templates: time 0.00292/0.3731, allocations: 453.2 kB / 1.331 GB, free: 12.76 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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: 9.42819472499832]