Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001292/0.001292, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.00137/0.00137, allocations: 215 kB / 20.13 MB, free: 2.949 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7678 GB, free: 9.422 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",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.002055/0.002055, allocations: 71.88 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001897/1.028, allocations: 0.588 MB / 1.28 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/1.029, allocations: 190.8 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/1.029, allocations: 5.125 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/1.029, allocations: 0 / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/1.029, allocations: 0 / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/1.029, allocations: 50.45 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.038e-05/1.029, allocations: 6.641 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/1.029, allocations: 1.609 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/1.029, allocations: 1.062 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.062e-05/1.029, allocations: 0.6094 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/1.029, allocations: 0 / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/1.029, allocations: 64.83 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/1.029, allocations: 4 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/1.029, allocations: 5.125 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/1.029, allocations: 32.25 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.029, allocations: 1.406 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.029, allocations: 0 / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.029, allocations: 0.75 kB / 1.28 GB, free: 11.21 MB / 0.9981 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.0003816/1.03, allocations: 323.6 kB / 1.28 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.03, allocations: 9.734 kB / 1.28 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.408e-05/1.03, allocations: 5.516 kB / 1.28 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/1.03, allocations: 34.75 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.053e-05/1.03, allocations: 2.219 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.03, allocations: 165.7 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/1.03, allocations: 384 / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/1.03, allocations: 1.688 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/1.03, allocations: 32.62 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.03, allocations: 0 / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/1.03, allocations: 1.281 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/1.03, allocations: 0 / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.853e-05/1.03, allocations: 1.328 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/1.03, allocations: 152 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/1.03, allocations: 29.33 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/1.03, allocations: 6.453 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/1.031, allocations: 457.5 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.031, allocations: 36.12 kB / 1.281 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.031, allocations: 0 / 1.281 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001489/1.031, allocations: 36.38 kB / 1.281 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.031, allocations: 56.23 kB / 1.281 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.926e-05/1.032, allocations: 89.86 kB / 1.281 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/1.032, allocations: 26.89 kB / 1.281 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/1.032, allocations: 84.08 kB / 1.281 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/1.032, allocations: 8.984 kB / 1.281 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/1.032, allocations: 16.28 kB / 1.281 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.032, allocations: 311.6 kB / 1.282 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/1.032, allocations: 1.031 kB / 1.282 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-06/1.032, allocations: 1.922 kB / 1.282 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/1.032, allocations: 8.516 kB / 1.282 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.032, allocations: 0 / 1.282 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.682e-05/1.032, allocations: 36.52 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.032, allocations: 9.938 kB / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/1.032, allocations: 0 / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.032, allocations: 0 / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/1.032, allocations: 7.375 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.032, allocations: 0 / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/1.032, allocations: 0 / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/1.032, allocations: 5.25 kB / 1.282 GB, free: 9.102 MB / 0.9981 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.545e-05/1.032, allocations: 110.1 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/1.032, allocations: 8.766 kB / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/1.032, allocations: 38.8 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.032, allocations: 1.844 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.032, allocations: 0 / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.032, allocations: 0 / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.032, allocations: 148.9 kB / 1.282 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.032, allocations: 1.062 kB / 1.282 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/1.032, allocations: 1.875 kB / 1.282 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.032, allocations: 5.344 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/1.032, allocations: 0 / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.032, allocations: 4.031 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.032, allocations: 5.953 kB / 1.282 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/1.032, allocations: 52.41 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/1.032, allocations: 77.91 kB / 1.282 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/1.032, allocations: 5.844 kB / 1.282 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-06/1.032, allocations: 3.938 kB / 1.282 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/1.032, allocations: 5.906 kB / 1.282 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/1.032, allocations: 4.031 kB / 1.282 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.391e-05/1.033, allocations: 76.41 kB / 1.282 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.033, allocations: 0 / 1.282 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002098/1.033, allocations: 15.5 kB / 1.282 GB, free: 8.484 MB / 0.9981 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.0005057/1.033, allocations: 0.6193 MB / 1.283 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.464e-05/1.033, allocations: 4 kB / 1.283 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.033, allocations: 0 / 1.283 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/1.033, allocations: 2.281 kB / 1.283 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/1.033, allocations: 1.609 kB / 1.283 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/1.034, allocations: 127.6 kB / 1.283 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/1.034, allocations: 0.671 MB / 1.284 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.129e-05/1.034, allocations: 0.7969 kB / 1.284 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/1.034, allocations: 12.59 kB / 1.284 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.034, allocations: 0 / 1.284 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/1.052, allocations: 1.194 MB / 1.285 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/9.288, allocations: 11.33 kB / 1.285 GB, free: 6.629 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.705340306973085]