Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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.001858/0.001858, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002383/0.002383, allocations: 218.1 kB / 22.26 MB, free: 5.125 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",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.001826/0.001826, allocations: 65.83 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002472/0.2857, allocations: 1.473 MB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.2863, allocations: 255.1 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.2863, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.2863, allocations: 4 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.2863, allocations: 7.938 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.2867, allocations: 63.8 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.2867, allocations: 23.94 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.254e-05/0.2868, allocations: 7.922 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.2868, allocations: 8 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.2869, allocations: 15.92 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.2869, allocations: 0 / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.287, allocations: 63.86 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.287, allocations: 8 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.287, allocations: 11.94 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2872, allocations: 52.08 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2872, allocations: 0 / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2872, allocations: 0 / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2872, allocations: 4 kB / 1.328 GB, free: 0 / 1.014 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.0004123/0.2876, allocations: 270.2 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2876, allocations: 12.02 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.2877, allocations: 34.75 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.2877, allocations: 4.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.2878, allocations: 106.5 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-06/0.2878, allocations: 384 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2878, allocations: 4.375 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.288, allocations: 50.17 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.288, allocations: 7.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.288, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.288, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.2881, allocations: 31.95 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.2884, allocations: 224 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2885, allocations: 42.55 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.2886, allocations: 28.77 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/0.2891, allocations: 79.92 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2891, allocations: 30.56 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2891, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003255/0.2895, allocations: 81.73 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2895, allocations: 59.34 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.2896, allocations: 97.84 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2896, allocations: 25.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.2896, allocations: 88.14 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.2896, allocations: 3.953 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.2897, allocations: 9.719 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2898, allocations: 326.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.2899, allocations: 16.02 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.2899, allocations: 11.98 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.2901, allocations: 40.83 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2901, allocations: 3.938 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001738/0.2902, allocations: 69.72 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2903, allocations: 7.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2903, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2903, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.2904, allocations: 11.98 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2904, allocations: 3.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.2904, allocations: 7.984 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.2904, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 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 8.028e-05/0.2905, allocations: 118.3 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.2905, allocations: 3.953 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.2907, allocations: 68.97 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2907, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2907, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2907, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2909, allocations: 132.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2909, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.2909, allocations: 8.031 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2909, allocations: 7.984 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.2909, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2909, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2909, allocations: 3.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.2912, allocations: 167.5 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.2912, allocations: 3.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.2912, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.2912, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.2913, allocations: 11.92 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.2913, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.2913, allocations: 83.28 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2913, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002187/0.2915, allocations: 12 kB / 1.33 GB, free: 13.35 MB / 1.029 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.0005796/0.2921, allocations: 0.7201 MB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.2923, allocations: 39.95 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2923, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.2924, allocations: 19.98 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.2926, allocations: 1.719 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.293, allocations: 159 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2932, allocations: 0.6807 MB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.2933, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.2933, allocations: 15.44 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.2933, allocations: 3.938 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/1.559, allocations: 1.62 MB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/13.14, allocations: 9.5 kB / 1.333 GB, free: 10.12 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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: 20.05554232187569]