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.002243/0.002243, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002197/0.002197, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.387/2.387, allocations: 469.8 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 74.45 kB / 0.9082 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2243, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001484/0.2258, allocations: 0.6543 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.2263, allocations: 288.8 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.014e-05/0.2263, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.2263, allocations: 3.938 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-06/0.2264, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.2267, allocations: 79.88 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.773e-05/0.2267, allocations: 8 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.2268, allocations: 3.984 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-06/0.2268, allocations: 0 / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.369e-05/0.2268, allocations: 4 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.2268, allocations: 4 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.227, allocations: 127.8 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.227, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.143e-05/0.2271, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2272, allocations: 75.81 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2272, allocations: 4 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2272, allocations: 0 / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2272, allocations: 0 / 1.065 GB, free: 13.28 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.0002705/0.2275, allocations: 327.5 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2275, allocations: 12.03 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.2276, allocations: 34.75 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.58e-05/0.2276, allocations: 0.9375 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.2277, allocations: 160.4 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2277, allocations: 8.359 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-06/0.2277, allocations: 384 / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.049e-05/0.2278, allocations: 30.2 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2278, allocations: 3.938 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-06/0.2278, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.2278, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.319e-05/0.2278, allocations: 8 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.228, allocations: 145.7 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/0.228, allocations: 18.61 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.228, allocations: 8.844 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006459/0.2287, allocations: 453.5 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2287, allocations: 38.5 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2287, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 9.735e-05/0.2288, allocations: 41.62 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.2288, allocations: 51.41 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.693e-05/0.2289, allocations: 89.86 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2289, allocations: 29.83 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.2289, allocations: 80.14 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.229, allocations: 3.938 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.229, allocations: 17.72 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2291, allocations: 310.8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-06/0.2291, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.2291, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/0.2292, allocations: 12.8 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2292, allocations: 4.062 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.478e-05/0.2292, allocations: 33.69 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2292, allocations: 8 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.2292, allocations: 3.938 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.2293, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.704e-05/0.2293, allocations: 3.938 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2293, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.2293, allocations: 3.906 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.2293, allocations: 4 kB / 1.067 GB, free: 11.04 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.093e-05/0.2294, allocations: 113.9 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-06/0.2294, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.2295, allocations: 48.69 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2295, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2295, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2295, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.058e-05/0.2296, allocations: 149.7 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2296, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.2296, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.2296, allocations: 4.031 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2296, allocations: 7.938 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.2296, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2296, allocations: 3.984 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.911e-05/0.2297, allocations: 57.06 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.2297, allocations: 77.11 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.2297, allocations: 7.938 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-06/0.2297, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.2298, allocations: 12.02 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.2298, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.2298, allocations: 75.28 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2298, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001877/0.23, allocations: 24 kB / 1.067 GB, free: 10.37 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.0004357/0.2304, allocations: 0.6323 MB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.114e-05/0.2305, allocations: 7.938 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2305, allocations: 0 / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.2305, allocations: 8 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.2306, allocations: 10.45 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.2309, allocations: 114.6 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2311, allocations: 0.6806 MB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.617e-06/0.2311, allocations: 0 / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.2312, allocations: 7.438 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2312, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.152/2.383, allocations: 1.292 MB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/2.383, allocations: 200.4 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/9.034, allocations: 8.062 kB / 1.07 GB, free: 7.375 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