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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001263/0.001262, allocations: 191.3 kB / 16.14 MB, free: 6.734 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.521/2.521, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.606, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001649/0.6077, allocations: 0.6552 MB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005361/0.6082, allocations: 307 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-06/0.6082, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.6083, allocations: 7.938 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-06/0.6083, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.6086, allocations: 63.88 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.364e-05/0.6086, allocations: 3.984 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.056e-05/0.6087, allocations: 4 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.176e-05/0.6087, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.393e-05/0.6087, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-06/0.6087, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.6089, allocations: 131.7 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-06/0.609, allocations: 4 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.223e-05/0.609, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.6091, allocations: 75.77 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6091, allocations: 4 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6091, allocations: 4 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.6091, allocations: 0 / 1.018 GB, free: 1.539 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.0002341/0.6094, allocations: 325.1 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.6094, allocations: 8.031 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.6094, allocations: 34.73 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.534e-05/0.6095, allocations: 0.9375 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.748e-05/0.6095, allocations: 164.4 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.6095, allocations: 4.375 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.6095, allocations: 384 / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.344e-05/0.6096, allocations: 30.2 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.6096, allocations: 3.938 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-06/0.6096, allocations: 0 / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.6096, allocations: 0 / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.6097, allocations: 8 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.6098, allocations: 149.7 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 2.776e-05/0.6098, allocations: 18.66 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.194e-05/0.6098, allocations: 8.859 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.6105, allocations: 461.5 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.6105, allocations: 38.5 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6105, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 9.499e-05/0.6106, allocations: 41.64 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.6107, allocations: 51.52 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.266e-05/0.6107, allocations: 93.8 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.6107, allocations: 25.7 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.6107, allocations: 80.14 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.6108, allocations: 128 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.6108, allocations: 17.72 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.6109, allocations: 314.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.6109, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.6109, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.6109, allocations: 16.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6109, allocations: 3.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.456e-05/0.611, allocations: 29.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.611, allocations: 12.09 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.611, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.611, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.749e-05/0.6111, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6111, allocations: 3.984 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-06/0.6111, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.6111, allocations: 4 kB / 1.02 GB, free: 15.3 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.01e-05/0.6111, allocations: 106.4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.6111, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.6112, allocations: 48.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6112, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6112, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6112, allocations: 3.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.009e-05/0.6113, allocations: 145.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6113, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.6113, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.6113, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.6114, allocations: 3.938 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.6114, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.6114, allocations: 4.031 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.901e-05/0.6114, allocations: 65.06 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.6115, allocations: 77.11 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.6115, allocations: 3.938 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.6115, allocations: 4 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-06/0.6115, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.6115, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.6115, allocations: 79.31 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6115, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002013/0.6117, allocations: 27.98 kB / 1.02 GB, free: 14.63 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.000407/0.6122, allocations: 0.6419 MB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.001e-05/0.6122, allocations: 7.938 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6122, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.6122, allocations: 3.938 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.6124, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.6126, allocations: 112.4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.6128, allocations: 0.6731 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.097e-06/0.6128, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.031e-05/0.6129, allocations: 7.438 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6129, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.6232, allocations: 1.26 MB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.6234, allocations: 200.8 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.252, allocations: 3.938 kB / 1.023 GB, free: 11.66 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