Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_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.0008623/0.0008624, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.004946/0.004946, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.121/2.121, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.000284, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5408, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001319/0.5421, allocations: 1.156 MB / 0.9563 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000611/0.5428, allocations: 358.7 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.5428, allocations: 1.312 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.5428, allocations: 4 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.5429, allocations: 7.922 kB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.5433, allocations: 69.16 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.771e-05/0.5433, allocations: 28.38 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.5434, allocations: 3.844 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.5434, allocations: 6.188 kB / 0.9567 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.5435, allocations: 10.3 kB / 0.9568 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.5435, allocations: 1.281 kB / 0.9568 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.5437, allocations: 131.8 kB / 0.9569 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.5437, allocations: 9.109 kB / 0.9569 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.5438, allocations: 36.02 kB / 0.9569 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.5439, allocations: 88.16 kB / 0.957 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5439, allocations: 0 / 0.957 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5439, allocations: 1.5 kB / 0.957 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5439, allocations: 0 / 0.957 GB, free: 6.277 MB / 0.7169 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.0003411/0.5443, allocations: 363.1 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5443, allocations: 9.125 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.5444, allocations: 31.72 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.083e-05/0.5444, allocations: 1.969 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.5445, allocations: 162.4 kB / 0.9576 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.5445, allocations: 384 / 0.9576 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.5445, allocations: 1.438 kB / 0.9576 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5446, allocations: 63.23 kB / 0.9576 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5447, allocations: 7.922 kB / 0.9576 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.5447, allocations: 0 / 0.9576 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5447, allocations: 1.312 kB / 0.9576 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.5448, allocations: 47.64 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.5451, allocations: 253.6 kB / 0.9579 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.5452, allocations: 43.34 kB / 0.958 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.5453, allocations: 39.61 kB / 0.958 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.5458, allocations: 464.6 kB / 0.9584 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.5458, allocations: 34.55 kB / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5458, allocations: 5.5 kB / 0.9585 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003264/0.5462, allocations: 86.88 kB / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.5462, allocations: 51.53 kB / 0.9586 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.5462, allocations: 107.3 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.5463, allocations: 25.7 kB / 0.9587 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.5463, allocations: 85.95 kB / 0.9588 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.5463, allocations: 3.906 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.5463, allocations: 11.47 kB / 0.9588 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.5464, allocations: 314.8 kB / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.5464, allocations: 30.36 kB / 0.9592 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.5465, allocations: 18.23 kB / 0.9592 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.5467, allocations: 52.81 kB / 0.9592 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5467, allocations: 5.281 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001809/0.5469, allocations: 73.27 kB / 0.9593 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5469, allocations: 5.5 kB / 0.9593 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5469, allocations: 4.031 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5469, allocations: 1.375 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.547, allocations: 12.23 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.547, allocations: 0 / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.5471, allocations: 10.86 kB / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.5471, allocations: 3.938 kB / 0.9593 GB, free: 3.898 MB / 0.7169 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 4.807e-05/0.5471, allocations: 115.1 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.5471, allocations: 5.375 kB / 0.9594 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5474, allocations: 84.16 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5474, allocations: 1.312 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5474, allocations: 0 / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.5474, allocations: 0 / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.5475, allocations: 167.3 kB / 0.9597 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5475, allocations: 0 / 0.9597 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.5476, allocations: 12.8 kB / 0.9597 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5476, allocations: 0 / 0.9597 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.5476, allocations: 0 / 0.9597 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5476, allocations: 0 / 0.9597 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5476, allocations: 5.344 kB / 0.9597 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.5478, allocations: 180.2 kB / 0.9599 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.5478, allocations: 78.61 kB / 0.96 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.5478, allocations: 0 / 0.96 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.5479, allocations: 10.33 kB / 0.96 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.5479, allocations: 4.938 kB / 0.96 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.5479, allocations: 0.8438 kB / 0.96 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.849e-05/0.548, allocations: 78.69 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.548, allocations: 0 / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002474/0.5482, allocations: 36.05 kB / 0.9601 GB, free: 3.152 MB / 0.7169 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.0004723/0.5487, allocations: 0.7464 MB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.5489, allocations: 43.56 kB / 0.9608 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5489, allocations: 0 / 0.9608 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.549, allocations: 28.41 kB / 0.9609 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.5492, allocations: 9.312 kB / 0.9609 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.5496, allocations: 145.3 kB / 0.961 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.96e-05/0.5497, allocations: 0.681 MB / 0.9617 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.5497, allocations: 9 kB / 0.9617 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.5497, allocations: 8.562 kB / 0.9617 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5497, allocations: 0 / 0.9617 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.5718, allocations: 1.477 MB / 0.9631 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.572, allocations: 192 kB / 0.9633 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/2.039, allocations: 3.938 kB / 0.9633 GB, free: 0.5664 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat