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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001855/0.001855, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002186/0.002186, allocations: 194.1 kB / 16.13 MB, free: 6.656 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 70.11 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2435, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001524/0.2451, allocations: 0.6464 MB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005214/0.2456, allocations: 315 kB / 1.053 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-06/0.2456, allocations: 4 kB / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.2457, allocations: 0 / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-06/0.2457, allocations: 0 / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.246, allocations: 71.8 kB / 1.053 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.209e-05/0.246, allocations: 0 / 1.053 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.007e-05/0.2461, allocations: 4 kB / 1.053 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-06/0.2461, allocations: 0 / 1.053 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.597e-05/0.2461, allocations: 4 kB / 1.053 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.2461, allocations: 0 / 1.053 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.2463, allocations: 139.7 kB / 1.053 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.921e-06/0.2463, allocations: 0 / 1.053 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.137e-05/0.2464, allocations: 0 / 1.053 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2465, allocations: 71.83 kB / 1.053 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2465, allocations: 4 kB / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2465, allocations: 0 / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2465, allocations: 3.938 kB / 1.053 GB, free: 6.934 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.0002181/0.2467, allocations: 331.5 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2468, allocations: 11.97 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/0.2468, allocations: 30.75 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.372e-05/0.2468, allocations: 4.938 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.2469, allocations: 160.4 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.2469, allocations: 4.375 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-06/0.2469, allocations: 384 / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.691e-05/0.247, allocations: 26.27 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.247, allocations: 3.938 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-06/0.247, allocations: 3.938 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.247, allocations: 0 / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.247, allocations: 11.98 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.888e-05/0.2471, allocations: 145.7 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 2.669e-05/0.2472, allocations: 18.61 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.002e-05/0.2472, allocations: 4.859 kB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.2478, allocations: 461.5 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2478, allocations: 30.56 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.2478, allocations: 0 / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 8.22e-05/0.2479, allocations: 41.58 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.248, allocations: 55.41 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.288e-05/0.248, allocations: 89.86 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.248, allocations: 25.7 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.2481, allocations: 80.14 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.2481, allocations: 4.125 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.2481, allocations: 17.7 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.2482, allocations: 310.8 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.2482, allocations: 0 / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.2482, allocations: 0 / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/0.2482, allocations: 16.8 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2483, allocations: 0 / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.6e-05/0.2483, allocations: 33.77 kB / 1.055 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.2483, allocations: 9.25 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2483, allocations: 3.938 kB / 1.055 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.2483, allocations: 7.922 kB / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-05/0.2484, allocations: 0 / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.2484, allocations: 0 / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.035e-05/0.2484, allocations: 4 kB / 1.055 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2484, allocations: 0 / 1.055 GB, free: 4.699 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 5.495e-05/0.2485, allocations: 105.8 kB / 1.055 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.2485, allocations: 4.031 kB / 1.055 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.2485, allocations: 48.69 kB / 1.055 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2485, allocations: 0 / 1.055 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2486, allocations: 7.938 kB / 1.055 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2486, allocations: 4 kB / 1.055 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.644e-05/0.2487, allocations: 141.7 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2487, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.028e-05/0.2487, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2487, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2487, allocations: 11.92 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2487, allocations: 8.016 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2487, allocations: 0 / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.616e-05/0.2488, allocations: 57.08 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.2488, allocations: 77.11 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.2488, allocations: 7.938 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.2488, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.2488, allocations: 3.984 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2488, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.2489, allocations: 79.31 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2489, allocations: 0 / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002066/0.2491, allocations: 24 kB / 1.056 GB, free: 4.031 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.0004168/0.2495, allocations: 0.64 MB / 1.056 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.636e-05/0.2496, allocations: 7.938 kB / 1.056 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2496, allocations: 0 / 1.056 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.2496, allocations: 4 kB / 1.056 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.2497, allocations: 128 / 1.056 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.2499, allocations: 120.3 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2501, allocations: 0.6731 MB / 1.057 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.198e-06/0.2501, allocations: 0 / 1.057 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.2501, allocations: 7.438 kB / 1.057 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.2502, allocations: 0 / 1.057 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009456/0.2596, allocations: 1.269 MB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.2598, allocations: 204.4 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.779, allocations: 0 / 1.059 GB, free: 1.059 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