Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.001317/0.001317, 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.001273/0.001272, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.91 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2787, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.00306/0.2818, allocations: 1.426 MB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.2825, allocations: 350.8 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.2826, allocations: 0 / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.2826, allocations: 0 / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.2827, allocations: 7.922 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.2832, allocations: 103.7 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.2832, allocations: 23.91 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.2833, allocations: 8 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.2834, allocations: 7.922 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.2834, allocations: 8 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2834, allocations: 4 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.2837, allocations: 123.8 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.2837, allocations: 3.938 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.2837, allocations: 8 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.2839, allocations: 83.81 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2839, allocations: 7.938 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2839, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2839, allocations: 3.938 kB / 1.055 GB, free: 6.102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004586/0.2844, allocations: 355.8 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.2845, allocations: 8.625 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.2845, allocations: 34.75 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.2845, allocations: 8.844 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2847, allocations: 160.4 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2847, allocations: 4.375 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.2847, allocations: 8.375 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.2849, allocations: 42.23 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2849, allocations: 7.938 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.2849, allocations: 4 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2849, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.2851, allocations: 35.89 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.2855, allocations: 249 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2856, allocations: 54.42 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.2857, allocations: 16.91 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/0.2865, allocations: 461.5 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.2865, allocations: 34.56 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 3.546e-06/0.2866, allocations: 3.984 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003772/0.2869, allocations: 85.67 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.287, allocations: 55.41 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.2871, allocations: 97.86 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2871, allocations: 25.7 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.2871, allocations: 84.05 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2872, allocations: 3.984 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.2872, allocations: 17.72 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2874, allocations: 310.8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.2874, allocations: 20.02 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.2875, allocations: 15.98 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2877, allocations: 44.75 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2877, allocations: 3.938 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.2879, allocations: 69.62 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2879, allocations: 8 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2879, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2879, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.288, allocations: 4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.288, allocations: 0 / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.2881, allocations: 7.984 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2881, allocations: 4 kB / 1.057 GB, free: 3.477 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 (2): * Single equations (assignments): 2 * 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 9.246e-05/0.2882, allocations: 119.3 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2882, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.2885, allocations: 76.7 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2885, allocations: 3.938 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2885, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2885, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.2887, allocations: 161.5 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2887, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.2888, allocations: 20.02 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2888, allocations: 0 / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2888, allocations: 4 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2888, allocations: 3.938 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2888, allocations: 0 / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.2891, allocations: 163.4 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.2891, allocations: 85.05 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.2891, allocations: 4 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.2892, allocations: 7.984 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.2893, allocations: 4 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2893, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.2893, allocations: 83.27 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2893, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002681/0.2896, allocations: 28 kB / 1.058 GB, free: 2.633 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 (2): * Single equations (assignments): 2 * 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.0007595/0.2904, allocations: 0.7281 MB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.2906, allocations: 43.89 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2906, allocations: 4 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.2907, allocations: 11.98 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2909, allocations: 4 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.2914, allocations: 151.3 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2917, allocations: 0.6768 MB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.2918, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.2918, allocations: 11.44 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.2918, allocations: 0 / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.3121, allocations: 1.725 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.339, allocations: 9.469 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat