Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_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.001429/0.001429, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 72.81 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2543, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001526/0.2558, allocations: 0.5778 MB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.2564, allocations: 298.8 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-06/0.2564, allocations: 0 / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.257e-06/0.2564, allocations: 4 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-06/0.2564, allocations: 0 / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.2568, allocations: 95.72 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.668e-05/0.2568, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.2569, allocations: 4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.012e-05/0.2569, allocations: 3.938 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.416e-05/0.2569, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-06/0.2569, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.2571, allocations: 115.8 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.954e-06/0.2571, allocations: 4 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.093e-05/0.2572, allocations: 0 / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2573, allocations: 71.89 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2573, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2573, allocations: 4 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2573, allocations: 3.938 kB / 1.065 GB, free: 13.01 MB / 0.8262 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.0002899/0.2576, allocations: 323.6 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2576, allocations: 8.031 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.2577, allocations: 30.75 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.787e-05/0.2577, allocations: 4.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.2578, allocations: 164.3 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.2578, allocations: 12.36 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.2578, allocations: 384 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.396e-05/0.2579, allocations: 30.27 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2579, allocations: 3.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.2579, allocations: 3.984 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.2579, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.258, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.2581, allocations: 141.7 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.439e-05/0.2581, allocations: 26.55 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.2582, allocations: 4.859 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.2588, allocations: 457.5 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2589, allocations: 34.56 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2589, allocations: 0 / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001058/0.259, allocations: 41.64 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.259, allocations: 51.41 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.896e-05/0.2591, allocations: 89.86 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.2591, allocations: 29.64 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.2591, allocations: 84.12 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.2591, allocations: 3.938 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.2592, allocations: 13.84 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2593, allocations: 314.8 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.2593, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-06/0.2593, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/0.2593, allocations: 12.86 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2593, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.847e-05/0.2594, allocations: 33.69 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2594, allocations: 9.406 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.2594, allocations: 8.031 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2594, allocations: 3.938 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.997e-05/0.2595, allocations: 3.938 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.2595, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.2595, allocations: 3.906 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.2595, allocations: 4 kB / 1.067 GB, free: 10.77 MB / 0.8262 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 6.16e-05/0.2596, allocations: 105.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.2596, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.2596, allocations: 44.75 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2597, allocations: 4.031 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2597, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2597, allocations: 4 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.827e-05/0.2598, allocations: 141.7 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2598, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.2598, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2598, allocations: 3.984 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2598, allocations: 7.938 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.2598, allocations: 4 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2598, allocations: 3.938 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.83e-05/0.2599, allocations: 57.14 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2599, allocations: 77.11 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2599, allocations: 11.92 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-06/0.2599, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.26, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.26, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.26, allocations: 77.12 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.26, allocations: 4.031 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00019/0.2602, allocations: 24 kB / 1.068 GB, free: 10.11 MB / 0.8262 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.0004513/0.2607, allocations: 0.64 MB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.629e-05/0.2607, allocations: 8 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2607, allocations: 0 / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.2607, allocations: 3.938 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.2608, allocations: 4 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.2611, allocations: 127.5 kB / 1.068 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2614, allocations: 0.6768 MB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.504e-06/0.2614, allocations: 3.938 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.2614, allocations: 7.438 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2614, allocations: 0 / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4253/0.6867, allocations: 1.368 MB / 1.07 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.72, allocations: 15.56 kB / 1.07 GB, free: 7.23 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat