Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.0008528/0.0008528, 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.0008128/0.0008128, 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.8604/0.8604, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.79/1.79, allocations: 377.9 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",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.981 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.328e-05, allocations: 2.281 kB / 0.981 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001748/0.001771, allocations: 0.5867 MB / 0.9816 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.002411, allocations: 259 kB / 0.9818 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.002426, allocations: 0 / 0.9818 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.002445, allocations: 0 / 0.9818 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-06/0.002453, allocations: 0 / 0.9818 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.002881, allocations: 99.66 kB / 0.9819 GB, free: 464 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.002924, allocations: 4 kB / 0.9819 GB, free: 460 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.002964, allocations: 0 / 0.9819 GB, free: 460 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.002989, allocations: 0 / 0.9819 GB, free: 460 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 2.12e-05/0.00301, allocations: 0 / 0.9819 GB, free: 460 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.00302, allocations: 0 / 0.9819 GB, free: 460 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.003311, allocations: 119.7 kB / 0.9821 GB, free: 340 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.003325, allocations: 4 kB / 0.9821 GB, free: 336 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.003338, allocations: 0 / 0.9821 GB, free: 336 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003475, allocations: 79.81 kB / 0.9821 GB, free: 256 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003477, allocations: 8 kB / 0.9821 GB, free: 248 kB / 0.8855 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003478, allocations: 0 / 0.9821 GB, free: 248 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003482, allocations: 0 / 0.9821 GB, free: 248 kB / 0.8855 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.0002581/0.00374, allocations: 254.3 kB / 0.9824 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.003782, allocations: 8.031 kB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.003813, allocations: 38.69 kB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.003836, allocations: 0.9375 kB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.313e-05/0.003899, allocations: 105.7 kB / 0.9825 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.00391, allocations: 384 / 0.9825 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.003918, allocations: 4.312 kB / 0.9825 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.004008, allocations: 38.25 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004017, allocations: 192 / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004025, allocations: 384 / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.004031, allocations: 4.125 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.004052, allocations: 0 / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.004171, allocations: 120.8 kB / 0.9827 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.00421, allocations: 22.52 kB / 0.9827 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.004226, allocations: 8.953 kB / 0.9827 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/0.004643, allocations: 79.91 kB / 0.9828 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.004667, allocations: 30.56 kB / 0.9828 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.004668, allocations: 0 / 0.9828 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001152/0.004783, allocations: 37.66 kB / 0.9829 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.004814, allocations: 59.34 kB / 0.9829 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.301e-05/0.004837, allocations: 89.86 kB / 0.983 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004846, allocations: 25.7 kB / 0.983 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.004865, allocations: 84.12 kB / 0.9831 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.004889, allocations: 8.062 kB / 0.9831 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.00491, allocations: 13.72 kB / 0.9831 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.004984, allocations: 314.8 kB / 0.9834 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.004992, allocations: 0 / 0.9834 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.004996, allocations: 0 / 0.9834 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.005019, allocations: 12.86 kB / 0.9834 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00502, allocations: 0 / 0.9834 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.937e-05/0.00505, allocations: 29.7 kB / 0.9835 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.005061, allocations: 8 kB / 0.9835 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.005067, allocations: 4.094 kB / 0.9835 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.005079, allocations: 0 / 0.9835 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.005122, allocations: 3.984 kB / 0.9835 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.005129, allocations: 11.88 kB / 0.9835 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-06/0.005136, allocations: 0 / 0.9835 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005141, allocations: 0 / 0.9835 GB, free: 14.66 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 5.283e-05/0.005194, allocations: 109.8 kB / 0.9836 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-06/0.005196, allocations: 0 / 0.9836 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.005256, allocations: 36.7 kB / 0.9836 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005259, allocations: 7.984 kB / 0.9836 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.005264, allocations: 7.969 kB / 0.9837 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.005269, allocations: 7.984 kB / 0.9837 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.005478, allocations: 112.8 kB / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005478, allocations: 0 / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-06/0.005486, allocations: 4 kB / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.005488, allocations: 0 / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.005493, allocations: 3.938 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005494, allocations: 0 / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.005495, allocations: 3.938 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.638e-05/0.005542, allocations: 65.06 kB / 0.9838 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-06/0.005545, allocations: 4.031 kB / 0.9838 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.005553, allocations: 0 / 0.9838 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-06/0.005557, allocations: 0 / 0.9838 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.005574, allocations: 7.938 kB / 0.9839 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.005575, allocations: 0 / 0.9839 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.005595, allocations: 75.28 kB / 0.9839 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.005595, allocations: 0 / 0.9839 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001552/0.005751, allocations: 31.86 kB / 0.984 GB, free: 14.11 MB / 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.0003404/0.006091, allocations: 0.6319 MB / 0.9846 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.006155, allocations: 4 kB / 0.9846 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006157, allocations: 0 / 0.9846 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.006161, allocations: 4 kB / 0.9846 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.006266, allocations: 4.062 kB / 0.9846 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.006531, allocations: 126.4 kB / 0.9847 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.00657, allocations: 55.36 kB / 0.9848 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.066e-05/0.006581, allocations: 0 / 0.9848 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.006596, allocations: 8.5 kB / 0.9848 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of SimCode: time 1.012e-06/0.006597, allocations: 4 kB / 0.9848 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.02078, allocations: 2.037 MB / 0.9868 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/6.779, allocations: 7.156 kB / 0.9868 GB, free: 11.27 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.915309503674507]