Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_10_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.001532/0.001533, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001995/0.001995, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.91 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6561, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002292/0.6584, allocations: 1.5 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.6591, allocations: 359.7 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.6591, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.6591, allocations: 3.984 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.6592, allocations: 3.938 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.6596, allocations: 91.77 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.6596, allocations: 23.92 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.6597, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.6598, allocations: 15.94 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.6598, allocations: 7.984 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.6598, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.66, allocations: 143.7 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.66, allocations: 3.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.66, allocations: 7.984 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.6602, allocations: 95.73 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6602, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6602, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.6602, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 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.0003994/0.6607, allocations: 353.8 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6607, allocations: 8.031 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.6607, allocations: 34.75 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.6608, allocations: 8.844 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.6609, allocations: 168.3 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.6609, allocations: 384 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.6609, allocations: 384 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.6611, allocations: 54.23 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6611, allocations: 11.92 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.6611, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6611, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.6613, allocations: 27.97 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.6616, allocations: 252.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.6617, allocations: 46.44 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.6618, allocations: 28.84 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/0.6625, allocations: 469.4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.6625, allocations: 38.56 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6626, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003475/0.6629, allocations: 73.64 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6629, allocations: 59.34 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.663, allocations: 102 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.663, allocations: 25.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.6631, allocations: 84.12 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.6631, allocations: 7.906 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.6631, allocations: 13.72 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.6632, allocations: 310.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.6633, allocations: 19.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.6634, allocations: 19.97 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.6636, allocations: 36.83 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6636, allocations: 3.938 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.6638, allocations: 73.5 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.6638, allocations: 8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6638, allocations: 4.094 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6638, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.6639, allocations: 7.984 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6639, allocations: 3.984 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.664, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.664, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 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.743e-05/0.664, allocations: 110.3 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.6641, allocations: 3.984 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.6643, allocations: 76.78 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6643, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6643, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6643, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.6645, allocations: 165.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6645, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.6645, allocations: 11.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6645, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.6646, allocations: 7.969 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6646, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6646, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.6648, allocations: 167.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.6648, allocations: 77.11 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.6649, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.6649, allocations: 8.016 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.665, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.665, allocations: 3.938 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.665, allocations: 87.27 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.665, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002557/0.6653, allocations: 35.91 kB / 1.022 GB, free: 12.96 MB / 0.7794 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.0005885/0.6659, allocations: 0.7344 MB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.6661, allocations: 43.98 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6661, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.6662, allocations: 23.92 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.6664, allocations: 2.25 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.6668, allocations: 143.4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.667, allocations: 0.6729 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.6671, allocations: 3.984 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.6671, allocations: 11.44 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6671, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/1.816, allocations: 1.603 MB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.816, allocations: 195.3 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.99, allocations: 0 / 1.025 GB, free: 9.473 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat