Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.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.001426/0.001426, allocations: 103.3 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002413/0.002413, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.55/1.55, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.413/3.413, allocations: 0.49 GB / 0.7916 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 69.64 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4196, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.0034/0.423, allocations: 1.45 MB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.4238, allocations: 355.3 kB / 1.323 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.4238, allocations: 4 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.4239, allocations: 7.875 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.4239, allocations: 7.922 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.4245, allocations: 103.7 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.146e-05/0.4246, allocations: 19.92 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.4247, allocations: 7.984 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.4248, allocations: 7.938 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.4248, allocations: 11.98 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.4248, allocations: 4 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.4251, allocations: 139.7 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.4251, allocations: 3.938 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.4251, allocations: 11.94 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.4254, allocations: 88.06 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4254, allocations: 0 / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4254, allocations: 0 / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4254, allocations: 0 / 1.323 GB, free: 1.125 MB / 1.014 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.0005891/0.426, allocations: 355.3 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.426, allocations: 11.98 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.4261, allocations: 38.75 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.4261, allocations: 8.859 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.4263, allocations: 176.2 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4263, allocations: 384 / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4263, allocations: 4.375 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.4265, allocations: 54.22 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4266, allocations: 3.938 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4266, allocations: 0 / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4266, allocations: 0 / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.4268, allocations: 35.97 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.4272, allocations: 241 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.4274, allocations: 42.5 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4275, allocations: 24.83 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009414/0.4284, allocations: 469.5 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.4285, allocations: 38.56 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.4285, allocations: 4 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000406/0.4289, allocations: 77.64 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4289, allocations: 59.34 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.429, allocations: 97.86 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.429, allocations: 29.69 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.4291, allocations: 80.14 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.4291, allocations: 8.078 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.4292, allocations: 17.72 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4293, allocations: 310.8 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.4294, allocations: 23.97 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.4295, allocations: 15.92 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.4297, allocations: 40.89 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4297, allocations: 3.938 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002143/0.4299, allocations: 65.59 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4299, allocations: 8 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4299, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4299, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.43, allocations: 7.984 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.43, allocations: 8.031 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.4301, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.4301, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 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 0.0001079/0.4302, allocations: 113.8 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.4302, allocations: 7.891 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4305, allocations: 72.78 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4305, allocations: 4.031 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4305, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4305, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.4307, allocations: 161.5 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4307, allocations: 3.984 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.4308, allocations: 8 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4308, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4308, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4308, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4308, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.4311, allocations: 163.5 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.4311, allocations: 85.09 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.4312, allocations: 4 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.4312, allocations: 4 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.4313, allocations: 3.984 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4313, allocations: 4 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.4313, allocations: 83.5 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4313, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002948/0.4316, allocations: 27.94 kB / 1.326 GB, free: 13.64 MB / 1.029 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.0008281/0.4325, allocations: 0.7475 MB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.4327, allocations: 43.95 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4327, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.4328, allocations: 15.92 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.433, allocations: 10.34 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.4335, allocations: 150.9 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4338, allocations: 0.6806 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.4338, allocations: 128 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.4339, allocations: 15.44 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4339, allocations: 0 / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.4625, allocations: 1.766 MB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.569, allocations: 15.38 kB / 1.329 GB, free: 10.18 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_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_Examples_BesselY1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.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: 15.728617371991277]