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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008651/0.0008651, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004947/0.004947, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.323/2.323, allocations: 437.8 MB / 0.7121 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 12 kB / 0.873 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5474, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0006146/0.548, allocations: 321.5 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005506/0.5486, allocations: 295.1 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-06/0.5486, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.518e-06/0.5486, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-06/0.5486, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.549, allocations: 79.73 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.616e-05/0.549, allocations: 7.922 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.549, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.127e-05/0.5491, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.739e-05/0.5491, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.5491, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.5493, allocations: 135.8 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.5493, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.5494, allocations: 25.7 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.5495, allocations: 71.83 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5495, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5495, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5495, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.7794 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.000249/0.5498, allocations: 319.6 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5498, allocations: 12.03 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.5499, allocations: 34.75 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.809e-05/0.5499, allocations: 0.9375 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.55, allocations: 164.3 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.55, allocations: 384 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.55, allocations: 384 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.5501, allocations: 38.25 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.5501, allocations: 3.938 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.5501, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5501, allocations: 3.984 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.5501, allocations: 3.938 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.5502, allocations: 149.7 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.5503, allocations: 14.58 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.5503, allocations: 8.859 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.551, allocations: 469.5 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.551, allocations: 34.56 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.551, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.5511, allocations: 45.58 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.5512, allocations: 55.39 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.821e-05/0.5512, allocations: 89.86 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5512, allocations: 25.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.5512, allocations: 84.27 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.5513, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.5513, allocations: 9.719 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.5514, allocations: 310.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-06/0.5514, allocations: 4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/0.5514, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.5514, allocations: 16.8 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5514, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.332e-05/0.5515, allocations: 41.69 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.5515, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5515, allocations: 3.938 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.5515, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.183e-05/0.5516, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.5516, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.5516, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.5516, allocations: 0 / 1.026 GB, free: 12.7 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 5.674e-05/0.5516, allocations: 106.4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.5517, allocations: 8.031 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.5517, allocations: 52.62 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.5517, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.5517, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5518, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.753e-05/0.5518, allocations: 145.7 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5518, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.5519, allocations: 7.984 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5519, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.5519, allocations: 3.938 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5519, allocations: 4.031 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.5519, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.417e-05/0.5519, allocations: 57.14 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.552, allocations: 77.11 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.552, allocations: 11.86 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.552, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-06/0.552, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.552, allocations: 8.031 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.5521, allocations: 75.28 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5521, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001975/0.5523, allocations: 24 kB / 1.026 GB, free: 12.03 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.0004083/0.5527, allocations: 0.6342 MB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.792e-05/0.5527, allocations: 11.94 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5527, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.5528, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.5529, allocations: 4.125 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.5531, allocations: 116.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.5533, allocations: 0.6692 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.037e-06/0.5533, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.283e-05/0.5533, allocations: 7.438 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5533, allocations: 7.938 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009447/0.5628, allocations: 1.2 MB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.563, allocations: 202 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.246, allocations: 0 / 1.029 GB, free: 9.148 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