Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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.001326/0.001326, allocations: 105.9 kB / 16.45 MB, free: 6.508 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.001319/0.001319, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.481/1.481, 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.619/2.619, allocations: 443.5 MB / 0.7287 GB, free: 13.21 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.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003218/0.003218, allocations: 67.89 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8702, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003324/0.8735, allocations: 1.434 MB / 1.214 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.8741, allocations: 251.4 kB / 1.215 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.8742, allocations: 4 kB / 1.215 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.8742, allocations: 3.938 kB / 1.215 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.8742, allocations: 5.047 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.8747, allocations: 58.55 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.8748, allocations: 20.55 kB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.8748, allocations: 11.22 kB / 1.215 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.8749, allocations: 11.12 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.8749, allocations: 9.969 kB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.8749, allocations: 6.781 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.8751, allocations: 68.28 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.8751, allocations: 4.75 kB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.8752, allocations: 10.11 kB / 1.215 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.8753, allocations: 53.59 kB / 1.215 GB, free: 2.414 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8753, allocations: 1.094 kB / 1.215 GB, free: 2.414 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8753, allocations: 0 / 1.215 GB, free: 2.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.8753, allocations: 0 / 1.215 GB, free: 2.414 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005221/0.8759, allocations: 343.5 kB / 1.215 GB, free: 2.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.8759, allocations: 14.56 kB / 1.215 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.8759, allocations: 38.69 kB / 1.215 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.876, allocations: 2.781 kB / 1.215 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.8761, allocations: 169.4 kB / 1.215 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.8761, allocations: 1.469 kB / 1.215 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.8762, allocations: 5.391 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.8763, allocations: 54.39 kB / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8764, allocations: 3.938 kB / 1.215 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.8764, allocations: 0 / 1.215 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8764, allocations: 1.062 kB / 1.215 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.8765, allocations: 34.16 kB / 1.215 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.8769, allocations: 252.7 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.877, allocations: 34.22 kB / 1.216 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.8771, allocations: 22.34 kB / 1.216 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008276/0.878, allocations: 463 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.878, allocations: 31.69 kB / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.878, allocations: 0 / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.8784, allocations: 84.98 kB / 1.216 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.8784, allocations: 55.41 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.8785, allocations: 99.09 kB / 1.216 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.8785, allocations: 26.55 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.8786, allocations: 88.83 kB / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.8786, allocations: 8.75 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.8786, allocations: 12.34 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8788, allocations: 323.9 kB / 1.217 GB, free: 152 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.8788, allocations: 12.77 kB / 1.217 GB, free: 148 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.8789, allocations: 18.45 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.8791, allocations: 38.72 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.8791, allocations: 9.156 kB / 1.217 GB, free: 108 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.8793, allocations: 67.16 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8793, allocations: 5.469 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8793, allocations: 1.125 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.8793, allocations: 0 / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.8794, allocations: 14.64 kB / 1.217 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8794, allocations: 0 / 1.217 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.8794, allocations: 7.453 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.8794, allocations: 9.031 kB / 1.217 GB, free: 36 kB / 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 (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.0001055/0.8795, allocations: 111.4 kB / 1.217 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.8796, allocations: 4.719 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.8798, allocations: 70.75 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8798, allocations: 0.8125 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8798, allocations: 0 / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.8798, allocations: 4.984 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.88, allocations: 162 kB / 1.217 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.88, allocations: 0 / 1.217 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.88, allocations: 9.578 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.88, allocations: 0.9062 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.8801, allocations: 0.9375 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8801, allocations: 0 / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8801, allocations: 1.094 kB / 1.217 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.8803, allocations: 170.1 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.8804, allocations: 82.44 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8804, allocations: 5.219 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.8805, allocations: 7.766 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.8805, allocations: 1.5 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.8805, allocations: 0 / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.8806, allocations: 86.17 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8806, allocations: 1.125 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002494/0.8808, allocations: 25.95 kB / 1.218 GB, free: 15.29 MB / 0.9356 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.0006809/0.8815, allocations: 0.7049 MB / 1.218 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.8817, allocations: 40.7 kB / 1.219 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8817, allocations: 1.031 kB / 1.219 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/0.8818, allocations: 18.42 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.882, allocations: 9.234 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.8825, allocations: 145.2 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.8828, allocations: 0.6732 MB / 1.219 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.8828, allocations: 1.062 kB / 1.219 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.8829, allocations: 16.55 kB / 1.219 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.8829, allocations: 0 / 1.219 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.9092, allocations: 1.51 MB / 1.221 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/9.097, allocations: 15.97 kB / 1.221 GB, free: 12.84 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.094429705757648]