Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 108.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002504/0.002504, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 443.5 MB / 0.7287 GB, free: 13.38 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 79.88 kB / 1.056 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8692, allocations: 160.7 MB / 1.213 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001899/0.8711, allocations: 0.5832 MB / 1.214 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004972/0.8716, allocations: 188.2 kB / 1.214 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.8716, allocations: 0 / 1.214 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.8717, allocations: 1.062 kB / 1.214 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.8717, allocations: 0 / 1.214 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.872, allocations: 57.16 kB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.8721, allocations: 1 kB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.8721, allocations: 5.062 kB / 1.214 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.278e-05/0.8721, allocations: 1.125 kB / 1.214 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.11e-05/0.8722, allocations: 4 kB / 1.214 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.074e-06/0.8722, allocations: 1.062 kB / 1.214 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.8723, allocations: 61.05 kB / 1.214 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.8723, allocations: 1.156 kB / 1.214 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.8724, allocations: 0 / 1.214 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.8725, allocations: 42.08 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.8725, allocations: 0 / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8725, allocations: 0.75 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8725, allocations: 0 / 1.214 GB, free: 3.152 MB / 0.92 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.0003724/0.8729, allocations: 321.2 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8729, allocations: 10.06 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.873, allocations: 31.72 kB / 1.214 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.873, allocations: 0.9375 kB / 1.214 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.8731, allocations: 168.4 kB / 1.214 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.8731, allocations: 1.469 kB / 1.214 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.8731, allocations: 1.5 kB / 1.214 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.8732, allocations: 31.08 kB / 1.214 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8732, allocations: 13 kB / 1.214 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.8733, allocations: 0 / 1.214 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8733, allocations: 0 / 1.214 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.8733, allocations: 2.094 kB / 1.214 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.8735, allocations: 146.8 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.8735, allocations: 23.89 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.8735, allocations: 9.766 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/0.8743, allocations: 451.9 kB / 1.215 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.8743, allocations: 31.38 kB / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.8743, allocations: 0 / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/0.8745, allocations: 46.98 kB / 1.215 GB, free: 1.691 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.8745, allocations: 51.41 kB / 1.215 GB, free: 1.629 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.8746, allocations: 94.92 kB / 1.215 GB, free: 1.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.8746, allocations: 25.7 kB / 1.215 GB, free: 1.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.8746, allocations: 80.14 kB / 1.215 GB, free: 1.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.8747, allocations: 1.031 kB / 1.215 GB, free: 1.414 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.8747, allocations: 12.03 kB / 1.215 GB, free: 1.398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8748, allocations: 310.8 kB / 1.216 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.8749, allocations: 9.062 kB / 1.216 GB, free: 1.078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.141e-06/0.8749, allocations: 1.094 kB / 1.216 GB, free: 1.078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/0.8749, allocations: 23.06 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8749, allocations: 1.125 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.079e-05/0.8749, allocations: 30.08 kB / 1.216 GB, free: 1.023 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.875, allocations: 5.438 kB / 1.216 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.875, allocations: 5 kB / 1.216 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.875, allocations: 3.984 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.693e-05/0.875, allocations: 1.5 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.875, allocations: 0.75 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.875, allocations: 32 / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.875, allocations: 4.75 kB / 1.216 GB, free: 1.012 MB / 0.92 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.988e-05/0.8751, allocations: 114.8 kB / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.8751, allocations: 1.125 kB / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.8752, allocations: 41.2 kB / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8752, allocations: 0 / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8752, allocations: 0.9375 kB / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.8752, allocations: 0 / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.8753, allocations: 146.8 kB / 1.216 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8753, allocations: 4.031 kB / 1.216 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.8753, allocations: 1.844 kB / 1.216 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8753, allocations: 0.7188 kB / 1.216 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.8754, allocations: 4.781 kB / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8754, allocations: 0 / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8754, allocations: 9.016 kB / 1.216 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.717e-05/0.8754, allocations: 62.78 kB / 1.216 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.8755, allocations: 77.11 kB / 1.216 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.8755, allocations: 9.312 kB / 1.216 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.8755, allocations: 0 / 1.216 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.8755, allocations: 1.156 kB / 1.216 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.8755, allocations: 0 / 1.216 GB, free: 472 kB / 0.92 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.8756, allocations: 75.28 kB / 1.216 GB, free: 396 kB / 0.92 GB Notification: Performance of sort global known variables: time 6e-08/0.8756, allocations: 0.8125 kB / 1.216 GB, free: 396 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002074/0.8758, allocations: 15.06 kB / 1.216 GB, free: 392 kB / 0.92 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.0005327/0.8763, allocations: 0.6166 MB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.891e-05/0.8764, allocations: 7.406 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8764, allocations: 1.094 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.8764, allocations: 9.125 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.8765, allocations: 6.188 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.8768, allocations: 115.3 kB / 1.217 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.8771, allocations: 0.6701 MB / 1.218 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.8771, allocations: 5.156 kB / 1.218 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.8772, allocations: 7.438 kB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.8772, allocations: 0 / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.9008, allocations: 1.144 MB / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.749, allocations: 13.92 kB / 1.219 GB, free: 14.24 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.020084127783775]