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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 103.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 489.7 MB / 0.7761 GB, free: 2.48 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=501,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=501,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 1.127 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342/1.344, allocations: 172 MB / 1.295 GB, free: 38.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001605/1.345, allocations: 0.5878 MB / 1.295 GB, free: 38.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004451/1.346, allocations: 196.8 kB / 1.296 GB, free: 38.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/1.346, allocations: 0 / 1.296 GB, free: 38.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/1.346, allocations: 0 / 1.296 GB, free: 38.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-06/1.346, allocations: 2.938 kB / 1.296 GB, free: 38.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/1.346, allocations: 50.23 kB / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.582e-05/1.346, allocations: 3.984 kB / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/1.346, allocations: 2.812 kB / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/1.346, allocations: 0 / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.092e-05/1.346, allocations: 4 kB / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/1.346, allocations: 0 / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/1.346, allocations: 58.92 kB / 1.296 GB, free: 38.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/1.346, allocations: 2.906 kB / 1.296 GB, free: 38.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/1.346, allocations: 0 / 1.296 GB, free: 38.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/1.346, allocations: 43.81 kB / 1.296 GB, free: 38.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/1.346, allocations: 0 / 1.296 GB, free: 38.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/1.346, allocations: 0 / 1.296 GB, free: 38.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.3e-06/1.346, allocations: 0 / 1.296 GB, free: 38.08 MB / 1.061 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.0002585/1.347, allocations: 312.9 kB / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.347, allocations: 14.61 kB / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/1.347, allocations: 0.9375 kB / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.096e-05/1.347, allocations: 164.4 kB / 1.296 GB, free: 37.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/1.347, allocations: 384 / 1.296 GB, free: 37.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/1.347, allocations: 384 / 1.296 GB, free: 37.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/1.347, allocations: 37.14 kB / 1.296 GB, free: 37.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.347, allocations: 192 / 1.296 GB, free: 37.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/1.347, allocations: 3.938 kB / 1.296 GB, free: 37.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/1.347, allocations: 0 / 1.296 GB, free: 37.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/1.347, allocations: 6.219 kB / 1.296 GB, free: 37.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.624e-05/1.347, allocations: 149.6 kB / 1.296 GB, free: 37.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.648e-05/1.347, allocations: 25.73 kB / 1.297 GB, free: 37.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/1.347, allocations: 8.859 kB / 1.297 GB, free: 37.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/1.348, allocations: 450.1 kB / 1.297 GB, free: 36.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/1.348, allocations: 41.44 kB / 1.297 GB, free: 36.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.348, allocations: 0 / 1.297 GB, free: 36.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000121/1.348, allocations: 36.89 kB / 1.297 GB, free: 36.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/1.348, allocations: 57.39 kB / 1.297 GB, free: 36.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.065e-05/1.348, allocations: 89.86 kB / 1.297 GB, free: 36.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/1.348, allocations: 25.7 kB / 1.297 GB, free: 36.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.287e-05/1.348, allocations: 80.14 kB / 1.297 GB, free: 36.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/1.348, allocations: 3.953 kB / 1.297 GB, free: 36.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/1.348, allocations: 16.56 kB / 1.297 GB, free: 36.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/1.348, allocations: 310.8 kB / 1.298 GB, free: 36.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/1.348, allocations: 0 / 1.298 GB, free: 36.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-06/1.348, allocations: 6.594 kB / 1.298 GB, free: 36.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/1.348, allocations: 15.42 kB / 1.298 GB, free: 36.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/1.348, allocations: 0 / 1.298 GB, free: 36.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.119e-05/1.348, allocations: 34.23 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.348, allocations: 9.031 kB / 1.298 GB, free: 36.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.348, allocations: 4.094 kB / 1.298 GB, free: 36.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.348, allocations: 6.188 kB / 1.298 GB, free: 36.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.983e-05/1.348, allocations: 0 / 1.298 GB, free: 36.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.348, allocations: 0 / 1.298 GB, free: 36.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-06/1.348, allocations: 2.344 kB / 1.298 GB, free: 36.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.348, allocations: 0 / 1.298 GB, free: 36.03 MB / 1.061 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 4.243e-05/1.348, allocations: 105.8 kB / 1.298 GB, free: 35.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/1.348, allocations: 6.438 kB / 1.298 GB, free: 35.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/1.348, allocations: 51.41 kB / 1.298 GB, free: 35.86 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.348, allocations: 0 / 1.298 GB, free: 35.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/1.348, allocations: 2.719 kB / 1.298 GB, free: 35.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/1.348, allocations: 0 / 1.298 GB, free: 35.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.705e-05/1.348, allocations: 145.2 kB / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.348, allocations: 0 / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/1.348, allocations: 2.719 kB / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.348, allocations: 0 / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/1.348, allocations: 3.938 kB / 1.298 GB, free: 35.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.348, allocations: 0 / 1.298 GB, free: 35.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.348, allocations: 2.75 kB / 1.298 GB, free: 35.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.947e-05/1.348, allocations: 66 kB / 1.298 GB, free: 35.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/1.348, allocations: 77.11 kB / 1.298 GB, free: 35.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/1.348, allocations: 3.938 kB / 1.298 GB, free: 35.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/1.348, allocations: 3.938 kB / 1.298 GB, free: 35.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/1.348, allocations: 2.469 kB / 1.298 GB, free: 35.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/1.348, allocations: 0 / 1.298 GB, free: 35.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.235e-05/1.348, allocations: 75.28 kB / 1.298 GB, free: 35.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.348, allocations: 4.031 kB / 1.298 GB, free: 35.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001939/1.349, allocations: 14.39 kB / 1.298 GB, free: 35.42 MB / 1.061 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.0001786/1.349, allocations: 117.9 kB / 1.298 GB, free: 35.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/1.349, allocations: 11.08 kB / 1.298 GB, free: 35.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.349, allocations: 4.062 kB / 1.298 GB, free: 35.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.642e-06/1.349, allocations: 6.469 kB / 1.298 GB, free: 35.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/1.349, allocations: 2.781 kB / 1.298 GB, free: 35.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/1.349, allocations: 102.5 kB / 1.298 GB, free: 35.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.687e-05/1.349, allocations: 0.6753 MB / 1.299 GB, free: 34.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/1.349, allocations: 11.05 kB / 1.299 GB, free: 34.48 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/1.349, allocations: 0 / 1.299 GB, free: 34.48 MB / 1.061 GB Notification: Performance of Templates: time 0.001925/1.351, allocations: 0.558 MB / 1.3 GB, free: 34.45 MB / 1.061 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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