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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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.001059/0.001059, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001366/0.001366, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.59/2.59, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004925, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6788, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001616/0.6805, allocations: 1.145 MB / 0.9823 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006089/0.6811, allocations: 318.4 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.6812, allocations: 4 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.6812, allocations: 7.938 kB / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.6812, allocations: 0 / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.6816, allocations: 79.73 kB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.6817, allocations: 23.92 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.694e-05/0.6818, allocations: 0 / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.6818, allocations: 7.984 kB / 0.9827 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.6818, allocations: 8 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.6819, allocations: 3.938 kB / 0.9827 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.6821, allocations: 127.8 kB / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.6821, allocations: 11.92 kB / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.6822, allocations: 29.7 kB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.6823, allocations: 51.91 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6823, allocations: 0 / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6823, allocations: 0 / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6823, allocations: 0 / 0.9829 GB, free: 4.41 MB / 0.7325 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.0004669/0.6828, allocations: 361.6 kB / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6828, allocations: 8.031 kB / 0.9833 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.6829, allocations: 34.55 kB / 0.9833 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.6829, allocations: 0 / 0.9833 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.683, allocations: 163.1 kB / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.6831, allocations: 0 / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.6831, allocations: 0 / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.6833, allocations: 65.56 kB / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6833, allocations: 0 / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6833, allocations: 4 kB / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6833, allocations: 0 / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.6835, allocations: 43.95 kB / 0.9836 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.6838, allocations: 252.8 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.684, allocations: 50.44 kB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.6841, allocations: 36.89 kB / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.6847, allocations: 453.5 kB / 0.9843 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.6848, allocations: 34.56 kB / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6848, allocations: 0 / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000331/0.6851, allocations: 93.64 kB / 0.9844 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.6852, allocations: 55.41 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.6852, allocations: 102 kB / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6852, allocations: 25.7 kB / 0.9846 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.6853, allocations: 88.14 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.6853, allocations: 7.844 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.6853, allocations: 3.938 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6854, allocations: 310.8 kB / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.6855, allocations: 27.97 kB / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.6856, allocations: 19.98 kB / 0.985 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.6857, allocations: 23.98 kB / 0.9851 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6857, allocations: 3.938 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001842/0.6859, allocations: 81.67 kB / 0.9851 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6859, allocations: 4 kB / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6859, allocations: 0 / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.6859, allocations: 4 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.686, allocations: 11.98 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.686, allocations: 4.031 kB / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.6861, allocations: 4 kB / 0.9852 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.6861, allocations: 4 kB / 0.9852 GB, free: 1.762 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.748e-05/0.6861, allocations: 117.8 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.6862, allocations: 3.953 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.6864, allocations: 80.78 kB / 0.9854 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6864, allocations: 0 / 0.9854 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6864, allocations: 4 kB / 0.9854 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.6864, allocations: 0 / 0.9854 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.6866, allocations: 165.6 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.6866, allocations: 3.984 kB / 0.9855 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.6867, allocations: 8 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6867, allocations: 4.031 kB / 0.9855 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6867, allocations: 3.953 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6867, allocations: 0 / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6867, allocations: 0 / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.6869, allocations: 179.5 kB / 0.9857 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.687, allocations: 81.09 kB / 0.9858 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.687, allocations: 0 / 0.9858 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.6871, allocations: 7.953 kB / 0.9858 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.6871, allocations: 7.984 kB / 0.9858 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.6871, allocations: 0 / 0.9858 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.6872, allocations: 83.28 kB / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6872, allocations: 4.031 kB / 0.9859 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002801/0.6875, allocations: 28 kB / 0.9859 GB, free: 0.8984 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006527/0.6881, allocations: 0.7358 MB / 0.9866 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.6883, allocations: 51.98 kB / 0.9867 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6883, allocations: 0 / 0.9867 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.6884, allocations: 23.98 kB / 0.9867 GB, free: 64 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.6887, allocations: 12.08 kB / 0.9867 GB, free: 52 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.6891, allocations: 146.2 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.6894, allocations: 0.6731 MB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.6894, allocations: 7.875 kB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.6894, allocations: 19.42 kB / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.6894, allocations: 0 / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.7008, allocations: 1.496 MB / 0.989 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.701, allocations: 177.6 kB / 0.9892 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.462, allocations: 2.625 kB / 0.9892 GB, free: 13.52 MB / 0.7481 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/linux/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) Environment - environmentSimulation: 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