Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001552/0.001552, allocations: 107.4 kB / 16.45 MB, free: 6.508 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.001538/0.001538, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.397/3.397, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_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.002081/0.002081, allocations: 70.3 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3959, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00193/0.3978, allocations: 0.5941 MB / 1.321 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005424/0.3984, allocations: 195.8 kB / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.3984, allocations: 0 / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.3984, allocations: 0 / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.3984, allocations: 0 / 1.322 GB, free: 2.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3988, allocations: 43.84 kB / 1.322 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.846e-05/0.3989, allocations: 0 / 1.322 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.3989, allocations: 7.984 kB / 1.322 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.3989, allocations: 0 / 1.322 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.615e-05/0.399, allocations: 7.922 kB / 1.322 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.399, allocations: 0 / 1.322 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.3992, allocations: 67.89 kB / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.3992, allocations: 0 / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.3992, allocations: 0 / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3993, allocations: 36.16 kB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3993, allocations: 0 / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3993, allocations: 0 / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3993, allocations: 0 / 1.322 GB, free: 2.359 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.0003587/0.3997, allocations: 323.5 kB / 1.322 GB, free: 1.992 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3997, allocations: 11.98 kB / 1.322 GB, free: 1.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.3998, allocations: 30.75 kB / 1.322 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.3998, allocations: 4.938 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3999, allocations: 164.3 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.3999, allocations: 384 / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3999, allocations: 4.375 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.4, allocations: 30.25 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4, allocations: 3.938 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.4, allocations: 0 / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.4, allocations: 0 / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.4001, allocations: 4 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.4002, allocations: 149.7 kB / 1.322 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.4003, allocations: 18.52 kB / 1.322 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.4003, allocations: 12.89 kB / 1.322 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008151/0.4011, allocations: 453.5 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4011, allocations: 34.56 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.4011, allocations: 3.938 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.4013, allocations: 37.64 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.4013, allocations: 55.39 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.4014, allocations: 89.86 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4014, allocations: 25.7 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.4014, allocations: 84.08 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.4014, allocations: 4.078 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.4015, allocations: 21.72 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4016, allocations: 310.8 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.4016, allocations: 0 / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.4016, allocations: 0 / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.4017, allocations: 8.859 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4017, allocations: 0 / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.338e-05/0.4017, allocations: 33.69 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4017, allocations: 12.09 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4018, allocations: 3.938 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4018, allocations: 0 / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.4018, allocations: 3.938 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4018, allocations: 0 / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.4018, allocations: 4 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4018, allocations: 8 kB / 1.324 GB, free: 124 kB / 1.014 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.815e-05/0.4019, allocations: 105.8 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-06/0.4019, allocations: 0 / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.402, allocations: 44.81 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.402, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.402, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.402, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.4021, allocations: 145.6 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4022, allocations: 3.984 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.4022, allocations: 3.984 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4022, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4022, allocations: 7.938 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4022, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4022, allocations: 11.91 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592e-05/0.4023, allocations: 49.14 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.4023, allocations: 81.09 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.4023, allocations: 7.938 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.4023, allocations: 4 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.4023, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.4023, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.4024, allocations: 79.31 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4024, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002048/0.4026, allocations: 19.88 kB / 1.324 GB, free: 15.46 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.0005399/0.4031, allocations: 0.6163 MB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.4032, allocations: 7.984 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4032, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-06/0.4032, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.4033, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.4037, allocations: 110.5 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.404, allocations: 0.673 MB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.317e-05/0.404, allocations: 8 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.404, allocations: 11.38 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.404, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.4299, allocations: 1.153 MB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.503, allocations: 13.67 kB / 1.327 GB, free: 12.86 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.528862641192973]