Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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 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.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.001717/0.001717, allocations: 108 kB / 15.61 MB, free: 152 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.001917/0.001917, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.416/1.416, 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.705/2.705, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 71.42 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2824, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002516/0.285, allocations: 1.424 MB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000631/0.2856, allocations: 352.7 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.2857, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.2857, allocations: 3.938 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.294e-05/0.2857, allocations: 3.984 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.2861, allocations: 112.8 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.2862, allocations: 19.92 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.2863, allocations: 8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.2863, allocations: 15.86 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.2864, allocations: 7.984 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2864, allocations: 8 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.2866, allocations: 127.8 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2866, allocations: 7.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.2866, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2868, allocations: 91.78 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2868, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2868, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2868, allocations: 0 / 1.066 GB, free: 12.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004423/0.2873, allocations: 363.6 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2873, allocations: 16.03 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.2874, allocations: 34.75 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.957e-05/0.2874, allocations: 0.9375 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2875, allocations: 164.4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2875, allocations: 4.375 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.2875, allocations: 4.375 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.2877, allocations: 46.25 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2877, allocations: 7.922 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2877, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2877, allocations: 7.938 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.2879, allocations: 35.91 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.2882, allocations: 245 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2883, allocations: 38.5 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.367e-05/0.2884, allocations: 24.91 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/0.2891, allocations: 469.4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2892, allocations: 38.56 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2892, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003278/0.2895, allocations: 81.5 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2896, allocations: 55.39 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.2896, allocations: 97.86 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2897, allocations: 25.83 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.2897, allocations: 88.14 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.2897, allocations: 7.906 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.2898, allocations: 13.7 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2899, allocations: 314.8 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.29, allocations: 15.98 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.2901, allocations: 11.98 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.2902, allocations: 44.88 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2902, allocations: 7.875 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.2904, allocations: 65.67 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2904, allocations: 7.984 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2905, allocations: 3.938 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2905, allocations: 0 / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.2905, allocations: 12.03 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2906, allocations: 0 / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.2906, allocations: 7.984 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.2906, allocations: 0 / 1.068 GB, free: 9.383 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 (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 6.833e-05/0.2907, allocations: 109.8 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.2907, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.2909, allocations: 80.7 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.291, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.291, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.291, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2911, allocations: 161.5 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2911, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.2912, allocations: 11.92 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2912, allocations: 192 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2912, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2912, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2912, allocations: 8.031 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.2915, allocations: 171.4 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.2915, allocations: 81.02 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.2915, allocations: 0 / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.2916, allocations: 7.984 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.2916, allocations: 4.031 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.2917, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.2917, allocations: 87.27 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2917, allocations: 0 / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000235/0.2919, allocations: 28 kB / 1.069 GB, free: 8.539 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 (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.0006814/0.2926, allocations: 0.7358 MB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2929, allocations: 43.92 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2929, allocations: 0 / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.293, allocations: 19.98 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2932, allocations: 1.406 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.2936, allocations: 147.1 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2939, allocations: 0.6769 MB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.2939, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.2939, allocations: 11.44 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2939, allocations: 3.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/1.582, allocations: 1.733 MB / 1.072 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.8, allocations: 7.438 kB / 1.072 GB, free: 5.125 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat