Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.001909/0.001909, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002417/0.002417, allocations: 191.1 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.539/2.539, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.875/4.875, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 68.25 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.5259, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002856/0.5288, allocations: 0.6502 MB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.5297, allocations: 299 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.376e-05/0.5297, allocations: 3.938 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.5297, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.5298, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.5304, allocations: 83.86 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.5305, allocations: 0 / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.5305, allocations: 0 / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.5306, allocations: 4 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.5306, allocations: 4 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.5306, allocations: 0 / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.531, allocations: 135.7 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.531, allocations: 4 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.5311, allocations: 0 / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.5313, allocations: 71.83 kB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5313, allocations: 0 / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5313, allocations: 0 / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.5314, allocations: 0 / 1.054 GB, free: 7.422 MB / 0.8106 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.0004551/0.5318, allocations: 331.5 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.5319, allocations: 12.62 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.532, allocations: 34.75 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.532, allocations: 0.9375 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.5322, allocations: 164.3 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5322, allocations: 4.375 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.5322, allocations: 384 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5323, allocations: 30.27 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5324, allocations: 7.938 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.5324, allocations: 0 / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5324, allocations: 0 / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.5324, allocations: 7.984 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.5327, allocations: 141.7 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.826e-05/0.5327, allocations: 26.55 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.5328, allocations: 4.859 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.5339, allocations: 461.5 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5339, allocations: 38.5 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.5339, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001909/0.5341, allocations: 37.64 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.5342, allocations: 51.41 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.5342, allocations: 89.86 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5343, allocations: 29.83 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.5343, allocations: 80.14 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.5344, allocations: 7.938 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.5344, allocations: 13.7 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.5346, allocations: 314.8 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.5347, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.5347, allocations: 4 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.5347, allocations: 4.922 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5347, allocations: 4 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.414e-05/0.5348, allocations: 33.7 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5348, allocations: 4 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5349, allocations: 7.922 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.892e-05/0.5349, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.535, allocations: 4 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.535, allocations: 3.938 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.535, allocations: 3.938 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.535, allocations: 0 / 1.056 GB, free: 5.176 MB / 0.8106 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 0.0003085/0.5353, allocations: 113.9 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.5354, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.5355, allocations: 44.75 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5355, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5355, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5355, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.5357, allocations: 141.7 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5357, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.5358, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5358, allocations: 4.031 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5358, allocations: 3.938 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5358, allocations: 3.984 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5358, allocations: 0 / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.5359, allocations: 64.98 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.536, allocations: 81.11 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.536, allocations: 3.938 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.5361, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.5361, allocations: 8.016 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5361, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.5361, allocations: 75.28 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5362, allocations: 3.938 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003813/0.5365, allocations: 28 kB / 1.056 GB, free: 4.508 MB / 0.8106 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.0008095/0.5374, allocations: 0.64 MB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.116e-05/0.5375, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5375, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-06/0.5375, allocations: 4.062 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.5377, allocations: 4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.5382, allocations: 122.6 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5386, allocations: 0.669 MB / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.5386, allocations: 0 / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.5386, allocations: 11.38 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of SimCode: time 3.8e-07/0.5386, allocations: 3.938 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/0.5911, allocations: 1.292 MB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/0.5916, allocations: 213.6 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/3.916, allocations: 4 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat