Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_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.001072/0.001072, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001252/0.001252, allocations: 172.7 kB / 15.95 MB, free: 208 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.421/1.421, allocations: 223.2 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.466/2.466, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004208, allocations: 12 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.6994, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001553/0.701, allocations: 1.145 MB / 0.9823 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006063/0.7016, allocations: 338.3 kB / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.7016, allocations: 3.938 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.7017, allocations: 0 / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-05/0.7017, allocations: 3.938 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.7021, allocations: 83.84 kB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.275e-05/0.7022, allocations: 15.94 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.269e-05/0.7023, allocations: 7.984 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.7023, allocations: 4 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.7024, allocations: 11.92 kB / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.7024, allocations: 4 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.7026, allocations: 135.7 kB / 0.9828 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.7027, allocations: 4 kB / 0.9828 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.7027, allocations: 29.64 kB / 0.9829 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.7028, allocations: 59.89 kB / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7028, allocations: 0 / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7028, allocations: 0 / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.7028, allocations: 0 / 0.9829 GB, free: 4.406 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.0004169/0.7033, allocations: 361.5 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7033, allocations: 8.031 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.7034, allocations: 34.56 kB / 0.9833 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.7034, allocations: 4 kB / 0.9833 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.7035, allocations: 159.1 kB / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.7035, allocations: 0 / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.7035, allocations: 0 / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.7037, allocations: 61.62 kB / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7037, allocations: 4 kB / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.7037, allocations: 0 / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7037, allocations: 0 / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.7039, allocations: 51.89 kB / 0.9836 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.7042, allocations: 248.8 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.7043, allocations: 46.55 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.7044, allocations: 32.91 kB / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007012/0.7051, allocations: 465.5 kB / 0.9843 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.7052, allocations: 42.55 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7052, allocations: 0 / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.7055, allocations: 93.69 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.7056, allocations: 55.41 kB / 0.9845 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.7057, allocations: 105.8 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.7057, allocations: 25.7 kB / 0.9846 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.7058, allocations: 80.14 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.7058, allocations: 7.906 kB / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.7058, allocations: 4 kB / 0.9847 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7059, allocations: 318.9 kB / 0.985 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.706, allocations: 23.92 kB / 0.9851 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.7061, allocations: 19.98 kB / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.7062, allocations: 24.05 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7062, allocations: 0 / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/0.7064, allocations: 85.55 kB / 0.9852 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.7064, allocations: 4 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7064, allocations: 0 / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7064, allocations: 4.031 kB / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.7065, allocations: 15.98 kB / 0.9852 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.7065, allocations: 3.938 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.7066, allocations: 11.98 kB / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.7066, allocations: 0 / 0.9852 GB, free: 1.738 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 7.004e-05/0.7067, allocations: 105.8 kB / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.7067, allocations: 11.95 kB / 0.9853 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.707, allocations: 84.72 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.707, allocations: 0 / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.707, allocations: 0 / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.707, allocations: 0 / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.7072, allocations: 165.6 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7072, allocations: 0 / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.7072, allocations: 8 kB / 0.9856 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7072, allocations: 0 / 0.9856 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.7072, allocations: 11.94 kB / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7073, allocations: 0 / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7073, allocations: 0 / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.7075, allocations: 171.5 kB / 0.9858 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.7075, allocations: 77.11 kB / 0.9858 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.7076, allocations: 3.938 kB / 0.9858 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.7076, allocations: 11.95 kB / 0.9858 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.7077, allocations: 8.016 kB / 0.9859 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.7077, allocations: 4 kB / 0.9859 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.7077, allocations: 79.28 kB / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7077, allocations: 0 / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002647/0.708, allocations: 28 kB / 0.986 GB, free: 0.8867 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.000693/0.7087, allocations: 0.7437 MB / 0.9867 GB, free: 120 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.7089, allocations: 47.91 kB / 0.9867 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7089, allocations: 0 / 0.9867 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.709, allocations: 28.05 kB / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.7093, allocations: 11.88 kB / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.7097, allocations: 150.2 kB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.7099, allocations: 0.677 MB / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.71, allocations: 4.062 kB / 0.9876 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.71, allocations: 7.438 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.71, allocations: 0 / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.7227, allocations: 1.519 MB / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.7229, allocations: 177.9 kB / 0.9892 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.494, allocations: 0 / 0.9892 GB, free: 13.48 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat