Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00124/0.00124, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001324/0.001324, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9035/0.9035, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.812/1.812, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.002e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001743/0.001763, allocations: 1.448 MB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.002158, allocations: 231.9 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.002184, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.002214, allocations: 3.984 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.002255, allocations: 11.88 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.002613, allocations: 67.69 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.002682, allocations: 23.92 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.002774, allocations: 4 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.002828, allocations: 15.97 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.749e-05/0.002865, allocations: 7.938 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.002878, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.002997, allocations: 59.94 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.00301, allocations: 4 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.003028, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.003172, allocations: 75.7 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003174, allocations: 0 / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.41e-07/0.003175, allocations: 4 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.003179, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 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.000347/0.003526, allocations: 266.3 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.003565, allocations: 12.75 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.003595, allocations: 34.75 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.003616, allocations: 0.9375 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.003773, allocations: 113.8 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.003782, allocations: 384 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.00379, allocations: 384 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.003912, allocations: 50.25 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.00392, allocations: 192 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.003928, allocations: 4.359 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.003934, allocations: 4.125 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.791e-05/0.004022, allocations: 39.91 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.004291, allocations: 220 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.004367, allocations: 34.56 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.004415, allocations: 24.91 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003381/0.004753, allocations: 79.91 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.004773, allocations: 34.5 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.004774, allocations: 0 / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.004993, allocations: 89.58 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.005019, allocations: 51.41 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.005074, allocations: 105.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.005084, allocations: 25.7 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.005117, allocations: 80.14 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.005134, allocations: 7.938 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.005159, allocations: 21.66 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.00524, allocations: 310.8 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.005283, allocations: 28.09 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.005318, allocations: 11.98 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.005394, allocations: 40.77 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005396, allocations: 3.938 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.885e-05/0.005495, allocations: 65.59 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.005508, allocations: 13.81 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005513, allocations: 0 / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005524, allocations: 0 / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.005574, allocations: 11.98 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00558, allocations: 4 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.0056, allocations: 3.984 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.005604, allocations: 4 kB / 1.003 GB, free: 9.598 MB / 0.9636 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 4.898e-05/0.005653, allocations: 105.8 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.005666, allocations: 7.938 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.005794, allocations: 80.86 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005796, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.0058, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.005803, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.005904, allocations: 128.8 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005905, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.005929, allocations: 7.984 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.005931, allocations: 3.938 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.005939, allocations: 0 / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005939, allocations: 4.031 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.00594, allocations: 4 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.006063, allocations: 159.6 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.006068, allocations: 3.938 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.006081, allocations: 7.984 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.00612, allocations: 11.98 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.006162, allocations: 4 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.006164, allocations: 0 / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.006189, allocations: 83.31 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006189, allocations: 0 / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001749/0.006364, allocations: 19.92 kB / 1.004 GB, free: 8.898 MB / 0.9636 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.0003716/0.006736, allocations: 0.7085 MB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.006855, allocations: 43.89 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006856, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.006896, allocations: 19.98 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.007062, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.007375, allocations: 138.5 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.007413, allocations: 59.48 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.477e-05/0.007427, allocations: 0 / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.007456, allocations: 20.48 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.007457, allocations: 3.938 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.02174, allocations: 2.19 MB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.927, allocations: 3.375 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.090658101253211]