Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 191.7 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.295/2.295, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4667, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001458/0.4682, allocations: 0.649 MB / 1.018 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004692/0.4687, allocations: 291 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-06/0.4687, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.4687, allocations: 7.875 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-06/0.4688, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.4691, allocations: 83.86 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.553e-05/0.4692, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.884e-05/0.4692, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.185e-05/0.4692, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.451e-05/0.4692, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-06/0.4692, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.4694, allocations: 131.7 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-06/0.4695, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.221e-05/0.4695, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.4696, allocations: 75.83 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4696, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4696, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.696e-06/0.4696, allocations: 7.938 kB / 1.018 GB, free: 1.492 MB / 0.7637 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.0002267/0.4699, allocations: 329.1 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.4699, allocations: 11.97 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.4699, allocations: 34.75 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.4699, allocations: 4.844 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.082e-05/0.47, allocations: 160.4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.47, allocations: 384 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-06/0.47, allocations: 384 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.946e-05/0.4701, allocations: 38.19 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.4701, allocations: 7.938 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-06/0.4701, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.4701, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.4701, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.681e-05/0.4703, allocations: 145.7 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 2.756e-05/0.4703, allocations: 18.61 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.4703, allocations: 4.859 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.4709, allocations: 461.5 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4709, allocations: 38.5 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.4709, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001082/0.471, allocations: 33.69 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.4711, allocations: 59.47 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.651e-05/0.4711, allocations: 89.86 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.4711, allocations: 29.7 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.4712, allocations: 80.14 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.4712, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.4712, allocations: 13.72 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.4713, allocations: 310.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-06/0.4713, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.4713, allocations: 8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.021e-05/0.4713, allocations: 8.797 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4713, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.318e-05/0.4714, allocations: 41.69 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.4714, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4714, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.4714, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.4715, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.4715, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-06/0.4715, allocations: 4.094 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.4715, allocations: 3.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 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.806e-05/0.4716, allocations: 106.4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-06/0.4716, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.4716, allocations: 48.69 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.4716, allocations: 7.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4716, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4717, allocations: 3.984 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.3e-05/0.4717, allocations: 145.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4717, allocations: 3.984 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.4717, allocations: 8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4718, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.4718, allocations: 3.938 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.4718, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4718, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5e-05/0.4718, allocations: 61.08 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.4719, allocations: 85.12 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-06/0.4719, allocations: 3.938 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-06/0.4719, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-06/0.4719, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.4719, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.4719, allocations: 75.28 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4719, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001882/0.4721, allocations: 28 kB / 1.021 GB, free: 14.59 MB / 0.7794 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.0003645/0.4725, allocations: 0.642 MB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.962e-05/0.4725, allocations: 11.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4726, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.4726, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.4727, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.4729, allocations: 114.6 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.4731, allocations: 0.669 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.556e-06/0.4731, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.4731, allocations: 7.438 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4731, allocations: 12.06 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7952/1.268, allocations: 1.292 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.269, allocations: 201.1 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.904, allocations: 2.531 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat