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.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.001329/0.001329, allocations: 114 kB / 17.6 MB, free: 4.699 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.00132/0.00132, allocations: 186.7 kB / 20.78 MB, free: 1.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.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001929/0.001929, allocations: 67.89 kB / 1.107 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.962/0.964, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001672/0.9656, allocations: 0.614 MB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.9661, allocations: 178.9 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.9661, allocations: 1.219 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.9661, allocations: 0 / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-06/0.9661, allocations: 0 / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.9664, allocations: 59.58 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.463e-05/0.9665, allocations: 0.875 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.9665, allocations: 8.938 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.9665, allocations: 0.5625 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.852e-05/0.9665, allocations: 0.6562 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-06/0.9665, allocations: 0 / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.9667, allocations: 61.03 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.9667, allocations: 3.984 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.9667, allocations: 0.7188 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.9668, allocations: 32.89 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.9669, allocations: 0 / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9669, allocations: 4.906 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.9669, allocations: 1.031 kB / 1.272 GB, free: 7.129 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.0002343/0.9671, allocations: 327 kB / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.9671, allocations: 10.27 kB / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.446e-05/0.9672, allocations: 31.62 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.9672, allocations: 0.9375 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.012e-05/0.9672, allocations: 161.8 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.9672, allocations: 1.094 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-06/0.9672, allocations: 1.25 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.368e-05/0.9673, allocations: 32.7 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.9673, allocations: 3.938 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.9673, allocations: 2.016 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.9673, allocations: 0 / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.9674, allocations: 0.7812 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.183e-05/0.9674, allocations: 153.7 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.122e-05/0.9675, allocations: 16.55 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.9675, allocations: 10.12 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.9681, allocations: 449.3 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.9681, allocations: 36.66 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9681, allocations: 0 / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.9682, allocations: 43.83 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.9682, allocations: 56 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.307e-05/0.9683, allocations: 89.86 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-06/0.9683, allocations: 27.34 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-06/0.9683, allocations: 80.14 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.9683, allocations: 0.5312 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.9683, allocations: 16.67 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.9684, allocations: 312.8 kB / 1.274 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.9684, allocations: 4.125 kB / 1.274 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-06/0.9684, allocations: 1.781 kB / 1.274 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.9684, allocations: 12.03 kB / 1.274 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9684, allocations: 0 / 1.274 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.536e-05/0.9684, allocations: 36.14 kB / 1.274 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9685, allocations: 5.188 kB / 1.274 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.9685, allocations: 4.719 kB / 1.274 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9685, allocations: 0.5625 kB / 1.274 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.583e-05/0.9685, allocations: 2.406 kB / 1.274 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9685, allocations: 4.562 kB / 1.274 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.031e-05/0.9685, allocations: 0.9375 kB / 1.274 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.9685, allocations: 0 / 1.274 GB, free: 5.039 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 3.729e-05/0.9686, allocations: 112.6 kB / 1.274 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.9686, allocations: 0.875 kB / 1.274 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.9686, allocations: 43.12 kB / 1.274 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.9686, allocations: 0.6094 kB / 1.274 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9686, allocations: 0.8125 kB / 1.274 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.9686, allocations: 7.969 kB / 1.274 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.166e-05/0.9687, allocations: 152.7 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9687, allocations: 1.172 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.9687, allocations: 1.562 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9687, allocations: 0.8438 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.9687, allocations: 4.906 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9687, allocations: 0.5156 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9687, allocations: 0.9062 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.016e-05/0.9688, allocations: 56.62 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.9688, allocations: 82.61 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.9688, allocations: 5.547 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-06/0.9688, allocations: 0 / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.9688, allocations: 1.234 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.9688, allocations: 8.734 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.11e-05/0.9688, allocations: 75.28 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.9688, allocations: 0.8438 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002005/0.969, allocations: 15.2 kB / 1.275 GB, free: 4.418 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.0003066/0.9693, allocations: 0.6194 MB / 1.275 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.9694, allocations: 8.078 kB / 1.275 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9694, allocations: 0.75 kB / 1.275 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.615e-06/0.9694, allocations: 9.469 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.9696, allocations: 4.094 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.9698, allocations: 133 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.97, allocations: 0.6709 MB / 1.276 GB, free: 18.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.129e-05/0.97, allocations: 1.266 kB / 1.276 GB, free: 18.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.9701, allocations: 8.156 kB / 1.276 GB, free: 18.95 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.9701, allocations: 4.125 kB / 1.276 GB, free: 18.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.9931, allocations: 1.128 MB / 1.277 GB, free: 18.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.897, allocations: 2.25 kB / 1.277 GB, free: 18.6 MB / 1.014 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 --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_2/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: 14.920112249994418]