Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.00149/0.00149, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001888/0.001888, allocations: 177.3 kB / 15.94 MB, free: 228 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.784/1.784, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.957/2.957, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 16 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9127/0.9131, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0008628/0.914, allocations: 313.5 kB / 0.9812 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.9147, allocations: 267.3 kB / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.9147, allocations: 0 / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.9148, allocations: 0 / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-06/0.9148, allocations: 4 kB / 0.9814 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.9153, allocations: 70.42 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.9153, allocations: 0 / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.9154, allocations: 4 kB / 0.9815 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.9154, allocations: 0 / 0.9815 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.9154, allocations: 0 / 0.9815 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.9155, allocations: 0 / 0.9815 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.9158, allocations: 127.8 kB / 0.9816 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.9158, allocations: 0 / 0.9816 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.9158, allocations: 25.7 kB / 0.9816 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.9159, allocations: 43.92 kB / 0.9817 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.916, allocations: 3.938 kB / 0.9817 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.006e-06/0.916, allocations: 4 kB / 0.9817 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.916, allocations: 0 / 0.9817 GB, free: 5.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004663/0.9165, allocations: 327.4 kB / 0.982 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.9165, allocations: 12.03 kB / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.9166, allocations: 30.56 kB / 0.982 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.9166, allocations: 0 / 0.982 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.9168, allocations: 167 kB / 0.9822 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.9168, allocations: 3.938 kB / 0.9822 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.9168, allocations: 0 / 0.9822 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.9169, allocations: 41.64 kB / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.9169, allocations: 0 / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.917, allocations: 0 / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.917, allocations: 0 / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.917, allocations: 0 / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.9172, allocations: 145.7 kB / 0.9824 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.901e-05/0.9172, allocations: 22.55 kB / 0.9824 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/0.9182, allocations: 465.5 kB / 0.9829 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.9182, allocations: 30.56 kB / 0.9829 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.9182, allocations: 0 / 0.9829 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.9184, allocations: 41.55 kB / 0.9829 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.9185, allocations: 51.53 kB / 0.983 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.9185, allocations: 93.86 kB / 0.9831 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.9186, allocations: 25.7 kB / 0.9831 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.9186, allocations: 82.44 kB / 0.9832 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.9187, allocations: 7.938 kB / 0.9832 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.9187, allocations: 0 / 0.9832 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9188, allocations: 314.8 kB / 0.9835 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.9189, allocations: 0 / 0.9835 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.9189, allocations: 0 / 0.9835 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.9189, allocations: 8.062 kB / 0.9835 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9189, allocations: 0 / 0.9835 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.421e-05/0.919, allocations: 33.69 kB / 0.9835 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.919, allocations: 4 kB / 0.9835 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.919, allocations: 3.938 kB / 0.9835 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.919, allocations: 0 / 0.9835 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.9191, allocations: 4 kB / 0.9835 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.9191, allocations: 3.953 kB / 0.9835 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.9191, allocations: 0 / 0.9835 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.9191, allocations: 0 / 0.9835 GB, free: 3.234 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 (1): * Single equations (assignments): 1 * 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 0.000119/0.9192, allocations: 113.9 kB / 0.9836 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.9193, allocations: 3.938 kB / 0.9836 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.9193, allocations: 44.81 kB / 0.9837 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.9194, allocations: 0 / 0.9837 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9194, allocations: 0 / 0.9837 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9194, allocations: 3.953 kB / 0.9837 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.9195, allocations: 141.7 kB / 0.9838 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.9195, allocations: 0 / 0.9838 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.9195, allocations: 7.984 kB / 0.9838 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9195, allocations: 4.031 kB / 0.9838 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.9195, allocations: 3.938 kB / 0.9838 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9195, allocations: 0 / 0.9838 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9196, allocations: 0 / 0.9838 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.523e-05/0.9196, allocations: 65.03 kB / 0.9839 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.9197, allocations: 77.11 kB / 0.984 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.9197, allocations: 3.984 kB / 0.984 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-06/0.9197, allocations: 4.031 kB / 0.984 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.9198, allocations: 0 / 0.984 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.9198, allocations: 4 kB / 0.984 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.9198, allocations: 75.28 kB / 0.9841 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9198, allocations: 0 / 0.9841 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000236/0.9201, allocations: 24 kB / 0.9841 GB, free: 2.57 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 (1): * Single equations (assignments): 1 * 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.0006955/0.9208, allocations: 0.638 MB / 0.9847 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.531e-05/0.9209, allocations: 8 kB / 0.9847 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9209, allocations: 4.094 kB / 0.9847 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-06/0.9209, allocations: 4 kB / 0.9847 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.822e-05/0.921, allocations: 0 / 0.9847 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.9213, allocations: 112.3 kB / 0.9848 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.9217, allocations: 0.6731 MB / 0.9855 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.9217, allocations: 0 / 0.9855 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.9217, allocations: 11.44 kB / 0.9855 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9217, allocations: 0 / 0.9855 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.185/1.107, allocations: 1.2 MB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/1.107, allocations: 186 kB / 0.9868 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/4.055, allocations: 0 / 0.9868 GB, free: 15.71 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat