Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1",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.0009279/0.0009281, allocations: 91.3 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.00571/0.00571, allocations: 173 kB / 16.26 MB, free: 6.613 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.397/2.397, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 8 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.521, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0005781/0.5216, allocations: 317.6 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.5222, allocations: 319 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-06/0.5222, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.906e-06/0.5223, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-06/0.5223, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.5226, allocations: 71.81 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.606e-05/0.5226, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.5227, allocations: 7.969 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.048e-05/0.5227, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.5227, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-06/0.5227, allocations: 3.938 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.523, allocations: 147.7 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.523, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.523, allocations: 25.7 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.5231, allocations: 67.89 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5232, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5232, allocations: 3.938 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.816e-06/0.5232, allocations: 0 / 1.024 GB, free: 14.88 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.0002321/0.5234, allocations: 327.6 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.5234, allocations: 8.031 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.5235, allocations: 34.75 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.477e-05/0.5235, allocations: 8.875 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.588e-05/0.5236, allocations: 160.4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.5236, allocations: 384 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.5236, allocations: 4.375 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.5237, allocations: 38 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-06/0.5237, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.5237, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.5237, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.5237, allocations: 7.938 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.5238, allocations: 149.7 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.423e-05/0.5239, allocations: 14.58 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.177e-05/0.5239, allocations: 8.953 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/0.5246, allocations: 477.4 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5246, allocations: 34.5 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5246, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.5247, allocations: 37.55 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.5248, allocations: 51.41 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.775e-05/0.5248, allocations: 89.86 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.5248, allocations: 33.83 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.5249, allocations: 80.14 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.5249, allocations: 7.922 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.5249, allocations: 9.719 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.525, allocations: 314.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.525, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.525, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.525, allocations: 4.859 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5251, allocations: 4.062 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.783e-05/0.5251, allocations: 41.62 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.5251, allocations: 7.938 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.5251, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.5251, allocations: 3.984 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.5252, allocations: 4 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.5252, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-06/0.5252, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.5252, allocations: 0 / 1.026 GB, free: 12.63 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.838e-05/0.5253, allocations: 114.4 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.5253, allocations: 7.875 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.5253, allocations: 36.81 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5254, allocations: 4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5254, allocations: 3.938 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.5254, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.365e-05/0.5254, allocations: 145.7 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5255, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.5255, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.5255, allocations: 7.969 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.5255, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5255, allocations: 3.984 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5255, allocations: 3.984 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.159e-05/0.5256, allocations: 53.14 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.5256, allocations: 81.11 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.5256, allocations: 3.938 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.5256, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.5256, allocations: 8.016 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.5256, allocations: 4 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.104e-05/0.5257, allocations: 75.28 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5257, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002043/0.5259, allocations: 32 kB / 1.027 GB, free: 11.95 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.0004035/0.5263, allocations: 0.638 MB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.353e-05/0.5263, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5263, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.5264, allocations: 11.94 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.5265, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.5267, allocations: 122.6 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.5269, allocations: 0.6692 MB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.957e-06/0.5269, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.094e-05/0.5269, allocations: 7.438 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5269, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009479/0.5364, allocations: 1.214 MB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.5368, allocations: 200.2 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.306, allocations: 7.938 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat