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.0007511/0.0007511, allocations: 86.72 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.0008086/0.0008085, 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.338/1.338, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.496/2.496, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5947, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0006729/0.5954, allocations: 317.5 kB / 0.9815 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005029/0.596, allocations: 267.4 kB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-06/0.596, allocations: 0 / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.707e-06/0.596, allocations: 0 / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.596, allocations: 0 / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.5964, allocations: 63.88 kB / 0.9818 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 2.829e-05/0.5964, allocations: 0 / 0.9818 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.5964, allocations: 7.984 kB / 0.9818 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.5965, allocations: 4 kB / 0.9818 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.057e-05/0.5965, allocations: 3.938 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.139e-06/0.5965, allocations: 0 / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.5967, allocations: 123.8 kB / 0.9819 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.5967, allocations: 3.984 kB / 0.9819 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.5968, allocations: 25.7 kB / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.5969, allocations: 39.94 kB / 0.982 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5969, allocations: 3.938 kB / 0.982 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5969, allocations: 4 kB / 0.982 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.796e-06/0.5969, allocations: 0 / 0.982 GB, free: 5.402 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.0002524/0.5972, allocations: 323.4 kB / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.5972, allocations: 12.03 kB / 0.9823 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.5972, allocations: 30.56 kB / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.742e-05/0.5973, allocations: 0 / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.5974, allocations: 163.1 kB / 0.9825 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.5974, allocations: 0 / 0.9825 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.5974, allocations: 0 / 0.9825 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.5975, allocations: 41.64 kB / 0.9825 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.5975, allocations: 3.938 kB / 0.9825 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.5975, allocations: 0 / 0.9825 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.5975, allocations: 3.938 kB / 0.9825 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.478e-05/0.5975, allocations: 0 / 0.9825 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.5976, allocations: 145.7 kB / 0.9827 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.225e-05/0.5977, allocations: 18.58 kB / 0.9827 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.5977, allocations: 11.14 kB / 0.9827 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/0.5984, allocations: 465.5 kB / 0.9831 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5984, allocations: 34.56 kB / 0.9832 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5984, allocations: 0 / 0.9832 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001079/0.5985, allocations: 45.58 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.5986, allocations: 59.44 kB / 0.9833 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.705e-05/0.5986, allocations: 89.86 kB / 0.9834 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.5986, allocations: 25.7 kB / 0.9834 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.5987, allocations: 80.14 kB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.5987, allocations: 0 / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.5987, allocations: 0 / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.5988, allocations: 310.8 kB / 0.9838 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.5988, allocations: 0 / 0.9838 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-06/0.5988, allocations: 12 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.309e-05/0.5988, allocations: 0 / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5988, allocations: 0 / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.804e-05/0.5989, allocations: 37.62 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5989, allocations: 13.97 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.5989, allocations: 0 / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.5989, allocations: 0 / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.324e-05/0.599, allocations: 3.953 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.599, allocations: 0 / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.599, allocations: 4.094 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.599, allocations: 4 kB / 0.9838 GB, free: 3.188 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 5.462e-05/0.5991, allocations: 105.8 kB / 0.9839 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-06/0.5991, allocations: 0 / 0.9839 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.5991, allocations: 44.75 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5992, allocations: 0 / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/0.5992, allocations: 3.953 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5992, allocations: 4 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.6e-05/0.5993, allocations: 141.7 kB / 0.9841 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5993, allocations: 4.031 kB / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.5993, allocations: 0 / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5993, allocations: 7.984 kB / 0.9841 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.5993, allocations: 4 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5993, allocations: 0 / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5993, allocations: 3.938 kB / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.589e-05/0.5994, allocations: 57.09 kB / 0.9842 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.5994, allocations: 77.11 kB / 0.9843 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.5995, allocations: 12.02 kB / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.5995, allocations: 0 / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-06/0.5995, allocations: 0 / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.5995, allocations: 0 / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.363e-05/0.5995, allocations: 79.22 kB / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5995, allocations: 0 / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002182/0.5997, allocations: 27.95 kB / 0.9844 GB, free: 2.527 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.0004461/0.6002, allocations: 0.6357 MB / 0.985 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.337e-05/0.6003, allocations: 4.031 kB / 0.985 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6003, allocations: 0 / 0.985 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.6003, allocations: 11.94 kB / 0.985 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.6004, allocations: 0 / 0.985 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.6007, allocations: 116.2 kB / 0.9851 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.6009, allocations: 0.6692 MB / 0.9858 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.181e-05/0.6009, allocations: 4 kB / 0.9858 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.6009, allocations: 7.438 kB / 0.9858 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6009, allocations: 128 / 0.9858 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01045/0.6114, allocations: 1.219 MB / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.6116, allocations: 195.2 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.197, allocations: 3.938 kB / 0.9872 GB, free: 15.66 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