Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001555/0.001555, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002043/0.002043, allocations: 217.4 kB / 22.25 MB, free: 5.242 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.801 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.231/3.231, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 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.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",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.002393/0.002393, allocations: 71.34 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3541, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003321/0.3574, allocations: 1.455 MB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.3581, allocations: 235.2 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.3581, allocations: 0 / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.3581, allocations: 0 / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.3582, allocations: 7.938 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.3586, allocations: 55.81 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.3587, allocations: 19.98 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3588, allocations: 4 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.3589, allocations: 15.92 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.3589, allocations: 0 / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3589, allocations: 4 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.3591, allocations: 71.86 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.3591, allocations: 3.938 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.3592, allocations: 7.984 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3594, allocations: 60.02 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3594, allocations: 4 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.806e-06/0.3594, allocations: 0 / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3594, allocations: 0 / 1.327 GB, free: 436 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006133/0.36, allocations: 270.2 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.36, allocations: 8.031 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.3601, allocations: 34.75 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3601, allocations: 4.938 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3603, allocations: 110.5 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3603, allocations: 384 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.3603, allocations: 4.375 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3605, allocations: 50.23 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3605, allocations: 3.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3606, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3606, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3607, allocations: 39.89 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.3611, allocations: 212.1 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3613, allocations: 42.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3614, allocations: 24.91 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/0.362, allocations: 79.84 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.362, allocations: 34.55 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.362, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003918/0.3624, allocations: 85.59 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3625, allocations: 55.39 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.3626, allocations: 101.9 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3626, allocations: 25.7 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.3626, allocations: 80.14 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.3627, allocations: 3.953 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3627, allocations: 21.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3629, allocations: 314.8 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.3629, allocations: 24.11 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.363, allocations: 11.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3632, allocations: 44.75 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3632, allocations: 3.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/0.3634, allocations: 61.73 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3634, allocations: 11.98 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3634, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3634, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.3635, allocations: 8 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3635, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.3636, allocations: 7.984 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3636, allocations: 0 / 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 (2): * Single equations (assignments): 2 * 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.011e-05/0.3637, allocations: 110.3 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.3637, allocations: 11.98 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.3639, allocations: 76.89 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3639, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3639, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3639, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3641, allocations: 128.7 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3641, allocations: 3.984 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.3642, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3642, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3642, allocations: 4.031 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3642, allocations: 4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.3642, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3645, allocations: 167.3 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.3645, allocations: 7.938 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.3645, allocations: 3.984 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.3646, allocations: 4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.3646, allocations: 11.98 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3646, allocations: 4.031 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.3647, allocations: 79.28 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3647, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002468/0.3649, allocations: 16 kB / 1.329 GB, free: 13.78 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 (2): * Single equations (assignments): 2 * 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.0007212/0.3657, allocations: 0.7162 MB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3659, allocations: 35.91 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3659, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.366, allocations: 19.97 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3662, allocations: 11.94 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.3667, allocations: 151 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.428e-05/0.3667, allocations: 63.47 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.3668, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3668, allocations: 11.44 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3668, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3977, allocations: 2.048 MB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 13.92 kB / 1.332 GB, free: 10.76 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 18.6459002639167]