Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 443.5 MB / 0.7304 GB, free: 13.97 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 76.11 kB / 1.059 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2658, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002461/0.2682, allocations: 1.437 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005103/0.2687, allocations: 267.9 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.2687, allocations: 0 / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.2688, allocations: 4 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.2688, allocations: 3.938 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2691, allocations: 55.83 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.16e-05/0.2692, allocations: 31.91 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.2692, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.2693, allocations: 19.92 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.2693, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.214e-06/0.2693, allocations: 3.938 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.2694, allocations: 63.88 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.2695, allocations: 11.94 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.2695, allocations: 7.969 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2696, allocations: 52.09 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2696, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2696, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2696, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 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.0004209/0.27, allocations: 355.3 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2701, allocations: 8.031 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.2701, allocations: 34.75 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.2701, allocations: 0.9375 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2702, allocations: 176.3 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2703, allocations: 384 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.2703, allocations: 384 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.2704, allocations: 54.17 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2704, allocations: 7.938 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.2704, allocations: 0 / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.2704, allocations: 3.938 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.2706, allocations: 31.97 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.2709, allocations: 249 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.271, allocations: 46.44 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.2711, allocations: 20.89 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006724/0.2718, allocations: 461.5 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2718, allocations: 34.56 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2718, allocations: 0 / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.2721, allocations: 81.64 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2722, allocations: 51.41 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.2723, allocations: 97.84 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2723, allocations: 25.7 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.2723, allocations: 92.27 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.2723, allocations: 7.891 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.2724, allocations: 9.719 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2725, allocations: 322.8 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.2726, allocations: 11.98 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.2727, allocations: 15.98 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.2728, allocations: 44.88 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2728, allocations: 3.938 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.273, allocations: 65.62 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.273, allocations: 5.875 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.273, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.273, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.2731, allocations: 23.89 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2731, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.2732, allocations: 7.984 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2732, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 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 7.644e-05/0.2732, allocations: 113.8 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2733, allocations: 4 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.2735, allocations: 68.78 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2735, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2735, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2735, allocations: 4 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2736, allocations: 161.6 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2736, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.2737, allocations: 15.92 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2737, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.2737, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2737, allocations: 7.938 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2737, allocations: 0 / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.274, allocations: 167.5 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.274, allocations: 81.06 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.274, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.2741, allocations: 7.984 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.2741, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.2741, allocations: 8.031 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.2742, allocations: 79.28 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2742, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002238/0.2744, allocations: 19.94 kB / 1.22 GB, free: 10.53 MB / 0.9669 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.0006056/0.275, allocations: 0.7162 MB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2752, allocations: 35.95 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2752, allocations: 0 / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.2753, allocations: 24.08 kB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.2755, allocations: 4 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.2759, allocations: 139.7 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2761, allocations: 0.6768 MB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.2761, allocations: 0 / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.2762, allocations: 15.44 kB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.2762, allocations: 0 / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.2986, allocations: 1.512 MB / 1.223 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.438, allocations: 8.156 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.607181231003779]