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.001893/0.001893, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002312/0.002312, allocations: 219.6 kB / 22.26 MB, free: 5.125 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.98 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.301/3.301, allocations: 0.49 GB / 0.7951 GB, free: 33.27 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [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.00204/0.00204, allocations: 69.83 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3592, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002093/0.3613, allocations: 0.5915 MB / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.3619, allocations: 203.8 kB / 1.327 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.3619, allocations: 0 / 1.327 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.362, allocations: 0 / 1.327 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-06/0.362, allocations: 0 / 1.327 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.3624, allocations: 63.81 kB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.3625, allocations: 0 / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.3625, allocations: 3.938 kB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.3625, allocations: 0 / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.444e-05/0.3626, allocations: 4 kB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.3626, allocations: 0 / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.3628, allocations: 59.88 kB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.3628, allocations: 3.984 kB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.3628, allocations: 4 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3629, allocations: 40.11 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3629, allocations: 4 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3629, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3629, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 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.0003646/0.3633, allocations: 242.4 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3633, allocations: 8.031 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.3634, allocations: 34.69 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.3634, allocations: 0.9375 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.517e-05/0.3635, allocations: 102.5 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3635, allocations: 4.375 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3635, allocations: 384 / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3636, allocations: 34.27 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3637, allocations: 3.938 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3637, allocations: 3.984 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3637, allocations: 3.938 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.3637, allocations: 4 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.3638, allocations: 112.8 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.3639, allocations: 22.55 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.3639, allocations: 12.86 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/0.3646, allocations: 71.97 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3646, allocations: 34.56 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3646, allocations: 0 / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000152/0.3648, allocations: 41.62 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3648, allocations: 55.34 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.3649, allocations: 93.86 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3649, allocations: 25.7 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.3649, allocations: 80.14 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.365, allocations: 11.92 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.365, allocations: 9.719 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3652, allocations: 315 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.3652, allocations: 8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.3652, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.3653, allocations: 8.859 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3653, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.138e-05/0.3653, allocations: 29.7 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3653, allocations: 11.92 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3653, allocations: 7.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3654, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.3654, allocations: 4.094 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3654, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-06/0.3654, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.3654, allocations: 0 / 1.328 GB, free: 15.43 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 0.0001378/0.3656, allocations: 118.3 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-06/0.3656, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.3656, allocations: 40.62 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3657, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3657, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3657, allocations: 4.031 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.3658, allocations: 116.8 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3658, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.3658, allocations: 3.938 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3658, allocations: 3.938 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3658, allocations: 11.92 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3658, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3658, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.582e-05/0.3659, allocations: 53.14 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.3659, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3659, allocations: 3.938 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.3659, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.366, allocations: 3.984 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.366, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.366, allocations: 75.28 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.366, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001997/0.3662, allocations: 15.94 kB / 1.329 GB, free: 14.89 MB / 1.029 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.0005857/0.3668, allocations: 0.6124 MB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3669, allocations: 8.031 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3669, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.3669, allocations: 7.984 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3671, allocations: 2.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.3674, allocations: 114.5 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3678, allocations: 0.6729 MB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.3678, allocations: 3.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.3678, allocations: 7.438 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3678, allocations: 4.125 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7008/1.069, allocations: 1.241 MB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.86, allocations: 10.56 kB / 1.331 GB, free: 12.24 MB / 1.029 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] 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: 21.52492418908514]