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.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.0008745/0.0008745, 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.0008306/0.0008306, allocations: 170.3 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.9278/0.9278, 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 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.705/1.705, allocations: 359 MB / 0.6037 GB, free: 11.08 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.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 2.154e-06/2.154e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.26e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002625/0.002648, allocations: 1.452 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005881/0.003236, allocations: 243.2 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.003268, allocations: 0 / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.003302, allocations: 3.938 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.003346, allocations: 0 / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.00375, allocations: 67.69 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.00382, allocations: 23.92 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.003914, allocations: 4 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.003967, allocations: 15.98 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.004004, allocations: 4 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.004016, allocations: 0 / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.004164, allocations: 67.8 kB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.004179, allocations: 4 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.004198, allocations: 7.984 kB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.004361, allocations: 63.84 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004363, allocations: 0 / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004364, allocations: 0 / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004368, allocations: 0 / 0.9524 GB, free: 1.508 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.0004199/0.004788, allocations: 270.3 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.004829, allocations: 11.97 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.004873, allocations: 38.69 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.004898, allocations: 8.891 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.415e-05/0.004992, allocations: 105.8 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.005005, allocations: 4.375 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.005014, allocations: 384 / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.005183, allocations: 54.17 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005191, allocations: 192 / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005201, allocations: 384 / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.005207, allocations: 8.125 kB / 0.9529 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.005341, allocations: 35.95 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.005665, allocations: 216 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.005774, allocations: 34.56 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.005845, allocations: 21.52 kB / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/0.006459, allocations: 83.84 kB / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.006487, allocations: 38.5 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.006488, allocations: 0 / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0003127/0.006801, allocations: 77.64 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.006833, allocations: 55.53 kB / 0.9534 GB, free: 320 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.0069, allocations: 101.8 kB / 0.9535 GB, free: 208 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.006911, allocations: 25.7 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.00695, allocations: 84.14 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.006966, allocations: 7.953 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.006997, allocations: 13.72 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.007099, allocations: 310.8 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.007165, allocations: 23.91 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.007225, allocations: 15.98 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.007341, allocations: 36.89 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007343, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001692/0.007512, allocations: 77.55 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.007527, allocations: 6.656 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.007532, allocations: 0 / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007546, allocations: 4 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.007616, allocations: 16.02 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.007621, allocations: 0 / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.007654, allocations: 7.984 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007659, allocations: 7.875 kB / 0.9541 GB, free: 15.55 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 6.998e-05/0.007729, allocations: 109.8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.007752, allocations: 3.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.007934, allocations: 72.97 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007936, allocations: 4.031 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.007941, allocations: 0 / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007944, allocations: 0 / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.008083, allocations: 128.7 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008085, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.008133, allocations: 11.98 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.008137, allocations: 3.938 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.008144, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.008146, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008147, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.008333, allocations: 163.5 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.008344, allocations: 11.89 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.008356, allocations: 0 / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.008426, allocations: 11.98 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.008458, allocations: 0 / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.008461, allocations: 0 / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.008494, allocations: 83.27 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.008494, allocations: 0 / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002737/0.008768, allocations: 19.94 kB / 0.9547 GB, free: 14.86 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.0005095/0.009277, allocations: 0.7124 MB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.00945, allocations: 43.98 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.009451, allocations: 0 / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.009513, allocations: 19.98 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.009765, allocations: 0 / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.01018, allocations: 142.4 kB / 0.9556 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.01023, allocations: 55.36 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.01025, allocations: 7.844 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.01029, allocations: 20.48 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01029, allocations: 8.062 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.029, allocations: 2.185 MB / 0.9578 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.829, allocations: 1.75 kB / 0.9578 GB, free: 11.71 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_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_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.042829927057028]