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.001698/0.001698, allocations: 108.8 kB / 16.45 MB, free: 6.504 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.002006/0.002006, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.473/1.473, 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 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.82/2.82, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 176] 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.002001/0.002001, allocations: 67.91 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.8657, allocations: 168.7 MB / 1.269 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002695/0.8684, allocations: 1.444 MB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000542/0.8689, allocations: 243.3 kB / 1.27 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.869, allocations: 0 / 1.27 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.869, allocations: 3.938 kB / 1.27 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.317e-05/0.869, allocations: 3.938 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.8694, allocations: 67.81 kB / 1.27 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.8694, allocations: 23.86 kB / 1.27 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.8695, allocations: 8 kB / 1.27 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.8696, allocations: 0 / 1.27 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.8696, allocations: 15.92 kB / 1.271 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.8696, allocations: 4 kB / 1.271 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.8697, allocations: 59.88 kB / 1.271 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.8698, allocations: 7.984 kB / 1.271 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.8698, allocations: 7.938 kB / 1.271 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.8699, allocations: 53.69 kB / 1.271 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8699, allocations: 4 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.078e-06/0.8699, allocations: 3.984 kB / 1.271 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8699, allocations: 0 / 1.271 GB, free: 3.195 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.0004803/0.8704, allocations: 353.4 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.8705, allocations: 8.031 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.8705, allocations: 34.69 kB / 1.271 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.8705, allocations: 4.891 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.8707, allocations: 164.4 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.8707, allocations: 384 / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.8707, allocations: 4.375 kB / 1.271 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.8709, allocations: 50.23 kB / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.8709, allocations: 3.938 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.8709, allocations: 0 / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.8709, allocations: 0 / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.871, allocations: 35.95 kB / 1.271 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.8714, allocations: 248.9 kB / 1.272 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.8715, allocations: 42.48 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.8716, allocations: 20.91 kB / 1.272 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.8723, allocations: 453.5 kB / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.8723, allocations: 38.55 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.8723, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.8727, allocations: 77.59 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.8727, allocations: 51.41 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.8728, allocations: 106 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.8728, allocations: 29.7 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.8729, allocations: 88.03 kB / 1.272 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.8729, allocations: 7.953 kB / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.8729, allocations: 17.7 kB / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8731, allocations: 310.8 kB / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.8731, allocations: 15.98 kB / 1.273 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.8732, allocations: 19.98 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.8734, allocations: 44.75 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8734, allocations: 3.938 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.8736, allocations: 69.61 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8736, allocations: 4.094 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.8736, allocations: 7.984 kB / 1.273 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8736, allocations: 0 / 1.273 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.8737, allocations: 8 kB / 1.273 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.8737, allocations: 0 / 1.273 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.8737, allocations: 11.92 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.8737, allocations: 0 / 1.273 GB, free: 0.582 MB / 0.9669 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.272e-05/0.8738, allocations: 113.8 kB / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.8738, allocations: 0 / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.8741, allocations: 76.72 kB / 1.273 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8741, allocations: 4 kB / 1.273 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8741, allocations: 3.984 kB / 1.273 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8741, allocations: 0 / 1.273 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.8742, allocations: 157.6 kB / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.8742, allocations: 192 / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.8743, allocations: 7.984 kB / 1.273 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.8743, allocations: 4 kB / 1.273 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.8743, allocations: 8.016 kB / 1.273 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8743, allocations: 0 / 1.273 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8743, allocations: 0 / 1.273 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.8746, allocations: 167.4 kB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.8747, allocations: 77.11 kB / 1.273 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.8747, allocations: 0 / 1.273 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.8747, allocations: 12.02 kB / 1.273 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.8748, allocations: 3.938 kB / 1.273 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.8748, allocations: 4 kB / 1.273 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.8748, allocations: 83.28 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8748, allocations: 0 / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002524/0.8751, allocations: 19.92 kB / 1.274 GB, free: 15.75 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.0006718/0.8757, allocations: 0.7051 MB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.876, allocations: 43.92 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.876, allocations: 4 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.8761, allocations: 15.98 kB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.8763, allocations: 7.938 kB / 1.274 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.8767, allocations: 139 kB / 1.274 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.8771, allocations: 0.6767 MB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.8771, allocations: 16.03 kB / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.8771, allocations: 15.42 kB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8771, allocations: 0 / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.9013, allocations: 1.51 MB / 1.277 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.998, allocations: 16.53 kB / 1.277 GB, free: 12.59 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.210025254171342]