Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001361/0.001361, allocations: 111.8 kB / 18.14 MB, free: 3.781 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.001665/0.001665, allocations: 202 kB / 21.43 MB, free: 0.5 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 / 250.2 MB, free: 13.28 MB / 206.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.781/2.781, allocations: 476.7 MB / 0.7637 GB, free: 10.1 MB / 0.6231 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.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 68.12 kB / 1.108 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 168.7 MB / 1.273 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003042/1.008, allocations: 1.442 MB / 1.274 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/1.009, allocations: 247.2 kB / 1.274 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/1.009, allocations: 0 / 1.274 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/1.009, allocations: 4 kB / 1.274 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/1.009, allocations: 7.922 kB / 1.274 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/1.009, allocations: 59.83 kB / 1.275 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/1.01, allocations: 23.88 kB / 1.275 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/1.01, allocations: 11.97 kB / 1.275 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/1.01, allocations: 4 kB / 1.275 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/1.01, allocations: 11.92 kB / 1.275 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/1.01, allocations: 4 kB / 1.275 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/1.01, allocations: 59.89 kB / 1.275 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/1.01, allocations: 7.984 kB / 1.275 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/1.01, allocations: 7.938 kB / 1.275 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/1.01, allocations: 53.97 kB / 1.275 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.01, allocations: 3.938 kB / 1.275 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/1.01, allocations: 4 kB / 1.275 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.01, allocations: 0 / 1.275 GB, free: 2.59 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006643/1.011, allocations: 343.4 kB / 1.275 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.011, allocations: 8.031 kB / 1.275 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.951e-05/1.011, allocations: 34.73 kB / 1.275 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/1.011, allocations: 8.891 kB / 1.275 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/1.011, allocations: 164.4 kB / 1.275 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/1.011, allocations: 384 / 1.275 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/1.011, allocations: 384 / 1.275 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/1.012, allocations: 54.17 kB / 1.275 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/1.012, allocations: 3.938 kB / 1.275 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/1.012, allocations: 0 / 1.275 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.012, allocations: 4 kB / 1.275 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/1.012, allocations: 35.95 kB / 1.275 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/1.012, allocations: 245 kB / 1.276 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/1.012, allocations: 46.42 kB / 1.276 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/1.013, allocations: 24.89 kB / 1.276 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009508/1.014, allocations: 453.5 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.014, allocations: 30.56 kB / 1.276 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.014, allocations: 0 / 1.276 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004411/1.014, allocations: 85.73 kB / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/1.014, allocations: 51.41 kB / 1.276 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/1.014, allocations: 105.8 kB / 1.276 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/1.014, allocations: 25.7 kB / 1.276 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/1.014, allocations: 88.09 kB / 1.276 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/1.014, allocations: 7.891 kB / 1.276 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/1.014, allocations: 17.66 kB / 1.276 GB, free: 492 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.014, allocations: 318.8 kB / 1.277 GB, free: 164 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/1.015, allocations: 16.02 kB / 1.277 GB, free: 148 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/1.015, allocations: 23.98 kB / 1.277 GB, free: 124 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/1.015, allocations: 32.83 kB / 1.277 GB, free: 88 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.015, allocations: 3.938 kB / 1.277 GB, free: 84 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/1.015, allocations: 69.72 kB / 1.277 GB, free: 8 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.015, allocations: 4 kB / 1.277 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/1.015, allocations: 3.984 kB / 1.277 GB, free: 16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.015, allocations: 7.938 kB / 1.277 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/1.015, allocations: 7.938 kB / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.015, allocations: 0 / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/1.015, allocations: 7.984 kB / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/1.015, allocations: 0 / 1.277 GB, free: 15.98 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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 0.0001177/1.015, allocations: 123.3 kB / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/1.015, allocations: 0 / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/1.016, allocations: 68.78 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.016, allocations: 0 / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.016, allocations: 0 / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.016, allocations: 0 / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/1.016, allocations: 165.6 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.016, allocations: 0 / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/1.016, allocations: 19.95 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.016, allocations: 0 / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.016, allocations: 0 / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.016, allocations: 0 / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.016, allocations: 0 / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/1.016, allocations: 167.4 kB / 1.277 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/1.016, allocations: 81.14 kB / 1.278 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/1.016, allocations: 0 / 1.278 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/1.016, allocations: 7.984 kB / 1.278 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/1.016, allocations: 4 kB / 1.278 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/1.016, allocations: 4 kB / 1.278 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.526e-05/1.016, allocations: 79.28 kB / 1.278 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.016, allocations: 0 / 1.278 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002519/1.017, allocations: 15.94 kB / 1.278 GB, free: 15.16 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0008008/1.017, allocations: 0.7129 MB / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002472/1.018, allocations: 43.98 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.018, allocations: 0 / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.973e-05/1.018, allocations: 15.98 kB / 1.278 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/1.018, allocations: 13.59 kB / 1.278 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/1.019, allocations: 151.1 kB / 1.279 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/1.019, allocations: 0.6884 MB / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.297e-05/1.019, allocations: 0 / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/1.019, allocations: 11.44 kB / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/1.019, allocations: 0 / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/1.044, allocations: 1.5 MB / 1.281 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.986, allocations: 11.08 kB / 1.281 GB, free: 12.02 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.11906409310177]