Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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.0008004/0.0008004, 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.0008741/0.0008741, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.818/1.818, 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.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.353e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001896/0.00192, allocations: 1.448 MB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000396/0.002316, allocations: 231.2 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.002343, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.002371, allocations: 3.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.002407, allocations: 3.938 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.002721, allocations: 55.75 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.002779, allocations: 27.92 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.002858, allocations: 4 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.002903, allocations: 11.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.002943, allocations: 11.94 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.002956, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.003067, allocations: 59.86 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.003081, allocations: 4 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.003097, allocations: 4 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.003231, allocations: 71.77 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003233, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003234, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003239, allocations: 4 kB / 1.002 GB, free: 11.54 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.0003556/0.003594, allocations: 270.2 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.003634, allocations: 8.75 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.003666, allocations: 34.75 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.003688, allocations: 0.9375 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.003772, allocations: 101.8 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.003783, allocations: 8.375 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.00379, allocations: 384 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.003932, allocations: 51.02 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.00394, allocations: 4.188 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.003948, allocations: 384 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.003954, allocations: 4.125 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.004052, allocations: 39.89 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.00435, allocations: 216 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.00445, allocations: 34.56 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.0045, allocations: 20.91 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.004894, allocations: 83.91 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.004916, allocations: 34.5 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.004918, allocations: 0 / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.005155, allocations: 81.69 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.005187, allocations: 59.39 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.005248, allocations: 97.86 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.00526, allocations: 25.7 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.005295, allocations: 88.08 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.005317, allocations: 7.891 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.00535, allocations: 17.7 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.005429, allocations: 314.8 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.005475, allocations: 15.98 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.005513, allocations: 20.02 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.18e-05/0.005595, allocations: 44.75 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005597, allocations: 3.938 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/0.005703, allocations: 61.61 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.00572, allocations: 11.98 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005725, allocations: 96 / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.005736, allocations: 4 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.005796, allocations: 4 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.005806, allocations: 4 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.005829, allocations: 3.984 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005834, 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 5.531e-05/0.005889, allocations: 105.8 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.005904, allocations: 7.938 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.006047, allocations: 84.84 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.00605, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.006055, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.006058, allocations: 192 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.006164, allocations: 120.8 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.006166, allocations: 7.984 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.006192, allocations: 7.984 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.006195, allocations: 3.938 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.006201, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.006204, allocations: 4 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006205, allocations: 8.031 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.006336, allocations: 163.5 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.006343, allocations: 3.938 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006354, allocations: 3.984 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.00639, allocations: 4 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.006425, allocations: 3.984 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.006428, allocations: 4 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.006454, allocations: 83.28 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006454, allocations: 7.969 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001714/0.006625, allocations: 12 kB / 1.004 GB, free: 8.895 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.0004236/0.007049, allocations: 0.7084 MB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.00718, allocations: 47.94 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007182, allocations: 0 / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.134e-05/0.007223, allocations: 19.97 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.007407, allocations: 2.031 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.007774, allocations: 138.5 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.007817, allocations: 59.34 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.007837, allocations: 4.125 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.007866, allocations: 12.5 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of SimCode: time 8.02e-07/0.007867, allocations: 3.938 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.02521, allocations: 2.181 MB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.806, allocations: 10.88 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.992171987891197]