Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.0008598/0.0008598, 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.0008875/0.0008875, allocations: 165.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.8866/0.8866, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.07 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9505 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.774e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001088/0.001106, allocations: 0.5866 MB / 0.9511 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.001473, allocations: 183.3 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.001486, allocations: 4 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.001501, allocations: 0 / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.603e-06/0.001508, allocations: 0 / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.001865, allocations: 54.02 kB / 0.9513 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.169e-05/0.001907, allocations: 4 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.001945, allocations: 0 / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.00197, allocations: 4 kB / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.001989, allocations: 0 / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.001999, allocations: 0 / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.002145, allocations: 67.8 kB / 0.9514 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.002157, allocations: 0 / 0.9514 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.234e-05/0.002169, allocations: 0 / 0.9514 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.002283, allocations: 47.92 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002285, allocations: 0 / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.002286, allocations: 0 / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.00229, allocations: 0 / 0.9515 GB, free: 2.461 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002232/0.002513, allocations: 246.3 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.002551, allocations: 12.03 kB / 0.9517 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.002578, allocations: 30.75 kB / 0.9517 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.0026, allocations: 4.922 kB / 0.9517 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.309e-05/0.002653, allocations: 101.8 kB / 0.9518 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.002661, allocations: 4.375 kB / 0.9518 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.002668, allocations: 384 / 0.9518 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.472e-05/0.002752, allocations: 38.19 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.002759, allocations: 192 / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.002765, allocations: 384 / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.002771, allocations: 8.125 kB / 0.9519 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.00279, allocations: 4 kB / 0.9519 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.753e-05/0.002887, allocations: 116.7 kB / 0.952 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.552e-05/0.002923, allocations: 22.59 kB / 0.952 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.002936, allocations: 4.859 kB / 0.952 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/0.003339, allocations: 71.98 kB / 0.9521 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.003358, allocations: 42.5 kB / 0.9521 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.003359, allocations: 0 / 0.9521 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.00347, allocations: 37.69 kB / 0.9522 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.003495, allocations: 55.34 kB / 0.9522 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.423e-05/0.003519, allocations: 89.86 kB / 0.9523 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.003527, allocations: 25.7 kB / 0.9523 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.003545, allocations: 84.08 kB / 0.9524 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.003567, allocations: 4 kB / 0.9524 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.003588, allocations: 9.719 kB / 0.9524 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.003805, allocations: 314.8 kB / 0.9527 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.003816, allocations: 8.125 kB / 0.9527 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.003822, allocations: 7.938 kB / 0.9528 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.003843, allocations: 12.84 kB / 0.9528 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.003846, allocations: 4 kB / 0.9528 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.396e-05/0.00388, allocations: 29.7 kB / 0.9528 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.003891, allocations: 4 kB / 0.9528 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.003896, allocations: 0 / 0.9528 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.003907, allocations: 0 / 0.9528 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.003947, allocations: 4 kB / 0.9528 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.003953, allocations: 3.938 kB / 0.9528 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-06/0.00396, allocations: 4.094 kB / 0.9528 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.003965, allocations: 0 / 0.9528 GB, free: 0.8867 MB / 0.9011 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 (1): * Single equations (assignments): 1 * 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.803e-05/0.004013, allocations: 113.8 kB / 0.9529 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-06/0.004016, allocations: 0 / 0.9529 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.004073, allocations: 40.64 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.004073, allocations: 0 / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.004078, allocations: 7.875 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.004081, allocations: 0 / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.004138, allocations: 120.8 kB / 0.9531 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004138, allocations: 0 / 0.9531 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-06/0.004144, allocations: 4.031 kB / 0.9531 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004145, allocations: 0 / 0.9531 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.00415, allocations: 0 / 0.9531 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.004152, allocations: 4 kB / 0.9531 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.004153, allocations: 3.938 kB / 0.9531 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.167e-05/0.004195, allocations: 61.06 kB / 0.9532 GB, free: 476 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-06/0.004199, allocations: 4 kB / 0.9532 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-06/0.004207, allocations: 0 / 0.9532 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-06/0.00421, allocations: 0 / 0.9532 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.004221, allocations: 3.938 kB / 0.9532 GB, free: 468 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.004223, allocations: 4.031 kB / 0.9532 GB, free: 464 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.819e-05/0.004241, allocations: 75.28 kB / 0.9532 GB, free: 388 kB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.004241, allocations: 3.938 kB / 0.9532 GB, free: 384 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001332/0.004374, allocations: 15.94 kB / 0.9533 GB, free: 368 kB / 0.9011 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 (1): * Single equations (assignments): 1 * 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.0002964/0.00467, allocations: 0.6086 MB / 0.9538 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.706e-05/0.004727, allocations: 7.969 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.004729, allocations: 4 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.004732, allocations: 0 / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.27e-05/0.004825, allocations: 6.594 kB / 0.9539 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.005052, allocations: 123 kB / 0.954 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.00508, allocations: 55.36 kB / 0.954 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.328e-06/0.00509, allocations: 4 kB / 0.954 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.005103, allocations: 8.5 kB / 0.954 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of SimCode: time 3.3e-07/0.005104, allocations: 0 / 0.954 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.019, allocations: 1.796 MB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.851, allocations: 8.328 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 10.940191937610507]