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.001121/0.001121, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001285/0.001285, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.714e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001307/0.001325, allocations: 0.5917 MB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.001645, allocations: 167.4 kB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.219e-05/0.001657, allocations: 0 / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.001672, allocations: 0 / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.001678, allocations: 0 / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.001999, allocations: 51.83 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 3.828e-05/0.002037, allocations: 0 / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.002072, allocations: 4 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.002094, allocations: 0 / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.943e-05/0.002113, allocations: 11.94 kB / 0.9514 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.002122, allocations: 0 / 0.9514 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.002253, allocations: 59.86 kB / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.002263, allocations: 0 / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.183e-05/0.002275, allocations: 0 / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.814e-05/0.002373, allocations: 43.88 kB / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002375, allocations: 0 / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002376, allocations: 0 / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002379, allocations: 0 / 0.9514 GB, free: 2.523 MB / 0.9011 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.0002058/0.002585, allocations: 242.4 kB / 0.9517 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.00262, allocations: 8.031 kB / 0.9517 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.002645, allocations: 34.75 kB / 0.9517 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.022e-05/0.002665, allocations: 4.922 kB / 0.9517 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.015e-05/0.002716, allocations: 105.8 kB / 0.9518 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.002725, allocations: 4.312 kB / 0.9518 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.002732, allocations: 384 / 0.9518 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.656e-05/0.002809, allocations: 30.2 kB / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.002815, allocations: 192 / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.002823, allocations: 4.375 kB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.002834, allocations: 4.125 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.00285, allocations: 3.938 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.787e-05/0.002948, allocations: 132.7 kB / 0.952 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.402e-05/0.002982, allocations: 18.56 kB / 0.952 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.002994, allocations: 4.859 kB / 0.952 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/0.003366, allocations: 71.98 kB / 0.9521 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.003384, allocations: 34.5 kB / 0.9521 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.003385, allocations: 0 / 0.9521 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.00349, allocations: 33.7 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.003517, allocations: 63.33 kB / 0.9522 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.211e-05/0.00354, allocations: 89.86 kB / 0.9523 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.003548, allocations: 25.7 kB / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.003567, allocations: 84.14 kB / 0.9524 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.003589, allocations: 3.938 kB / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.00361, allocations: 13.72 kB / 0.9524 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.003677, allocations: 310.8 kB / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.003684, allocations: 0 / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.003689, allocations: 0 / 0.9527 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.003709, allocations: 16.98 kB / 0.9527 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003711, allocations: 0 / 0.9527 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.143e-05/0.003742, allocations: 37.69 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.003753, allocations: 8 kB / 0.9528 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.003757, allocations: 0 / 0.9528 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.003767, allocations: 0 / 0.9528 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.003804, allocations: 4 kB / 0.9528 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.00381, allocations: 3.938 kB / 0.9528 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-06/0.003817, allocations: 4 kB / 0.9528 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.003821, allocations: 0 / 0.9528 GB, free: 0.9531 MB / 0.9011 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 4.455e-05/0.003865, allocations: 109.9 kB / 0.9529 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-06/0.003868, allocations: 0 / 0.9529 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.003924, allocations: 44.62 kB / 0.9529 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.003925, allocations: 0 / 0.9529 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.003931, allocations: 11.92 kB / 0.9529 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.003933, allocations: 0 / 0.9529 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.365e-05/0.003986, allocations: 116.8 kB / 0.9531 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.003987, allocations: 0 / 0.9531 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.003994, allocations: 7.984 kB / 0.9531 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.003996, allocations: 7.906 kB / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.004001, allocations: 4 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004001, allocations: 0 / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.004004, allocations: 3.938 kB / 0.9531 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.574e-05/0.004049, allocations: 57.08 kB / 0.9531 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-06/0.004053, allocations: 4 kB / 0.9531 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.004062, allocations: 3.984 kB / 0.9531 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-06/0.004065, allocations: 0 / 0.9531 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.004076, allocations: 7.938 kB / 0.9532 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-06/0.004077, allocations: 0 / 0.9532 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.742e-05/0.004094, allocations: 75.28 kB / 0.9532 GB, free: 444 kB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.004094, allocations: 4.031 kB / 0.9532 GB, free: 440 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001364/0.004231, allocations: 12 kB / 0.9532 GB, free: 428 kB / 0.9011 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.0002743/0.004505, allocations: 0.6046 MB / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.16e-05/0.004557, allocations: 7.938 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004558, allocations: 4.094 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.004562, allocations: 3.984 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.042e-05/0.004652, allocations: 9.969 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.004872, allocations: 110.5 kB / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.911e-05/0.004901, allocations: 59.34 kB / 0.954 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.845e-06/0.004909, allocations: 0 / 0.954 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.004923, allocations: 8.5 kB / 0.954 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of SimCode: time 2.71e-07/0.004924, allocations: 0 / 0.954 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.01863, allocations: 1.795 MB / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.657, allocations: 2.406 kB / 0.9558 GB, free: 13.86 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.54994713049382]