Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001489/0.001489, allocations: 105.5 kB / 16.45 MB, free: 6.453 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.001269/0.001269, allocations: 196.5 kB / 19.41 MB, free: 3.645 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.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.821/2.821, allocations: 476.7 MB / 0.7611 GB, free: 11.3 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.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.89 kB / 1.104 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8974, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00266/0.9001, allocations: 1.441 MB / 1.27 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005478/0.9006, allocations: 255.3 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.9007, allocations: 0 / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.9007, allocations: 3.938 kB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.9007, allocations: 3.938 kB / 1.27 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.9011, allocations: 59.83 kB / 1.27 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.9012, allocations: 27.91 kB / 1.27 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.9013, allocations: 11.98 kB / 1.271 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.9013, allocations: 0 / 1.271 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.9013, allocations: 19.86 kB / 1.271 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.9013, allocations: 4 kB / 1.271 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.9015, allocations: 63.88 kB / 1.271 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.9015, allocations: 0 / 1.271 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.9015, allocations: 11.92 kB / 1.271 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.9017, allocations: 53.7 kB / 1.271 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9017, allocations: 3.938 kB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9017, allocations: 0 / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.9017, allocations: 4 kB / 1.271 GB, free: 3.203 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.0004774/0.9022, allocations: 347.3 kB / 1.271 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9022, allocations: 8.031 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.9022, allocations: 34.75 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.9023, allocations: 8.891 kB / 1.271 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.9024, allocations: 160.4 kB / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.9024, allocations: 384 / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.9024, allocations: 4.375 kB / 1.271 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.9026, allocations: 50.23 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.9026, allocations: 7.922 kB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.9026, allocations: 4 kB / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.9026, allocations: 0 / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.9028, allocations: 35.89 kB / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.9031, allocations: 245 kB / 1.272 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.9032, allocations: 46.48 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.9033, allocations: 24.91 kB / 1.272 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007335/0.904, allocations: 457.5 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.9041, allocations: 30.56 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9041, allocations: 0 / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003462/0.9044, allocations: 85.58 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.9045, allocations: 51.41 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.9045, allocations: 106 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.9046, allocations: 25.7 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.9046, allocations: 92.02 kB / 1.272 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.9046, allocations: 7.953 kB / 1.272 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.9047, allocations: 13.72 kB / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9048, allocations: 310.8 kB / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.9049, allocations: 15.98 kB / 1.273 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.905, allocations: 23.97 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.9051, allocations: 36.77 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9051, allocations: 3.938 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.9053, allocations: 69.66 kB / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.9053, allocations: 4 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.9053, allocations: 4.094 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.9053, allocations: 7.938 kB / 1.273 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.9054, allocations: 7.984 kB / 1.273 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.9054, allocations: 3.938 kB / 1.273 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.9054, allocations: 4 kB / 1.273 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.9055, allocations: 0 / 1.273 GB, free: 0.5859 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.143e-05/0.9055, allocations: 113.8 kB / 1.273 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.9056, allocations: 3.984 kB / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.9058, allocations: 76.72 kB / 1.273 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9058, allocations: 4 kB / 1.273 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9058, allocations: 4 kB / 1.273 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.9058, allocations: 0 / 1.273 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.906, allocations: 157.6 kB / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.906, allocations: 0 / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.906, allocations: 11.98 kB / 1.273 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.906, allocations: 0 / 1.273 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.906, allocations: 4.031 kB / 1.273 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.906, allocations: 0 / 1.273 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.906, allocations: 0 / 1.273 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.9063, allocations: 171.3 kB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.9063, allocations: 77.11 kB / 1.273 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.9063, allocations: 0 / 1.273 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.9064, allocations: 12.02 kB / 1.273 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.9064, allocations: 4 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.9064, allocations: 0 / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.9065, allocations: 87.27 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9065, allocations: 0 / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002353/0.9067, allocations: 15.94 kB / 1.274 GB, free: 15.76 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.0006365/0.9074, allocations: 0.7094 MB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.9076, allocations: 47.94 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9076, allocations: 0 / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.9077, allocations: 11.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.0002295/0.9079, allocations: 13.86 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.0004158/0.9083, allocations: 131 kB / 1.274 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.9086, allocations: 0.6807 MB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.9086, allocations: 8.031 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.9087, allocations: 7.438 kB / 1.275 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.9087, allocations: 3.938 kB / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.9321, allocations: 1.528 MB / 1.277 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/9.017, allocations: 16.62 kB / 1.277 GB, free: 12.59 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.148390362970531]