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.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.0007984/0.0007984, 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.000995/0.000995, 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.9582/0.9582, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.757/1.757, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.014e-06/2.014e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/2.03e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00195/0.00197, allocations: 1.447 MB / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004271/0.002397, allocations: 235.3 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.002428, allocations: 0 / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.002457, allocations: 3.938 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.002498, allocations: 3.938 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.002847, allocations: 55.81 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.00291, allocations: 19.94 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.002999, allocations: 11.98 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.003046, allocations: 8 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.003081, allocations: 11.92 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.003093, allocations: 4 kB / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.003211, allocations: 67.8 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.00323, allocations: 0 / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.003248, allocations: 4 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003385, allocations: 63.84 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003387, allocations: 0 / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.003388, allocations: 0 / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003393, allocations: 0 / 0.9524 GB, free: 1.551 MB / 0.9011 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.000351/0.003744, allocations: 274.2 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.003785, allocations: 16.02 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.003811, allocations: 34.69 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.003833, allocations: 4.891 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.715e-05/0.00391, allocations: 105.8 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.00392, allocations: 384 / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.003927, allocations: 384 / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.004057, allocations: 54.17 kB / 0.9528 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004065, allocations: 192 / 0.9528 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004075, allocations: 8.359 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.004083, allocations: 8.125 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.527e-05/0.004178, allocations: 31.95 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.004457, allocations: 208.1 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.004541, allocations: 38.55 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.004586, allocations: 24.91 kB / 0.9532 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.004917, allocations: 71.86 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.004941, allocations: 46.5 kB / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004942, allocations: 0 / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002229/0.005164, allocations: 77.73 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.005192, allocations: 55.41 kB / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.00525, allocations: 101.8 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.005259, allocations: 29.64 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.005292, allocations: 80.14 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.005311, allocations: 16.5 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.005334, allocations: 9.719 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.005419, allocations: 318.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.005461, allocations: 19.92 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.005495, allocations: 16.02 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.005569, allocations: 36.83 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005571, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/0.005672, allocations: 77.55 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.005683, allocations: 4 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005688, allocations: 0 / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.005698, allocations: 4.094 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.005751, allocations: 11.98 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.005756, allocations: 0 / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.005778, allocations: 7.984 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.005782, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 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.979e-05/0.005832, allocations: 109.8 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.005844, allocations: 7.938 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.005966, allocations: 72.97 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.005968, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.005973, allocations: 4 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.005976, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.967e-05/0.006075, allocations: 128.7 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.006076, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.006099, allocations: 7.984 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.006102, allocations: 7.938 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006108, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006109, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00611, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.006229, allocations: 163.5 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.006237, allocations: 11.89 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.006247, allocations: 4 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.006282, allocations: 3.984 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.006312, allocations: 4 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.006315, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.00634, allocations: 87.2 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006341, allocations: 0 / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001587/0.006499, allocations: 16.03 kB / 0.9547 GB, free: 14.9 MB / 0.9167 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.0003703/0.00687, allocations: 0.7177 MB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.00699, allocations: 39.98 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006991, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.007035, allocations: 19.98 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.007201, allocations: 6.516 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.007509, allocations: 138.4 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.007548, allocations: 59.36 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.77e-05/0.007565, allocations: 11.95 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.007593, allocations: 16.5 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of SimCode: time 4.2e-07/0.007594, allocations: 0 / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.02357, allocations: 2.184 MB / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/6.826, allocations: 2.188 kB / 0.9578 GB, free: 11.76 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.10342230182141]