Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_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.0008707/0.0008707, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00515/0.00515, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.257/1.257, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.133/2.133, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 15.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5486, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0005362/0.5492, allocations: 315.2 kB / 0.9555 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000484/0.5497, allocations: 299.2 kB / 0.9558 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-06/0.5497, allocations: 1.5 kB / 0.9558 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.5497, allocations: 0 / 0.9558 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-06/0.5497, allocations: 0 / 0.9558 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.55, allocations: 71.98 kB / 0.9558 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.339e-05/0.5501, allocations: 1.344 kB / 0.9558 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.5501, allocations: 0 / 0.9558 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.5501, allocations: 5.406 kB / 0.9558 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.647e-05/0.5501, allocations: 3.938 kB / 0.9559 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-06/0.5502, allocations: 5.219 kB / 0.9559 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.5504, allocations: 130.2 kB / 0.956 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-06/0.5504, allocations: 1.781 kB / 0.956 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.5504, allocations: 25.7 kB / 0.956 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.5505, allocations: 68.27 kB / 0.9561 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5505, allocations: 4.812 kB / 0.9561 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5505, allocations: 3.938 kB / 0.9561 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.5505, allocations: 0 / 0.9561 GB, free: 7.027 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001706/0.5507, allocations: 322.9 kB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.5508, allocations: 9.406 kB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.094e-05/0.5508, allocations: 35.98 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.452e-05/0.5508, allocations: 0.9375 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.88e-05/0.5508, allocations: 160.4 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.5509, allocations: 1.531 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.5509, allocations: 4.312 kB / 0.9566 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.069e-05/0.5509, allocations: 28.58 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-06/0.5509, allocations: 3.938 kB / 0.9566 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-06/0.551, allocations: 0 / 0.9566 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.551, allocations: 4.875 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.626e-05/0.551, allocations: 4.969 kB / 0.9566 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.866e-05/0.5511, allocations: 154.9 kB / 0.9568 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.446e-05/0.5511, allocations: 20.72 kB / 0.9568 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.026e-05/0.5511, allocations: 6.172 kB / 0.9568 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/0.5516, allocations: 464.2 kB / 0.9572 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.5517, allocations: 32.16 kB / 0.9573 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5517, allocations: 0 / 0.9573 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001045/0.5518, allocations: 37.64 kB / 0.9573 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.351e-05/0.5518, allocations: 51.41 kB / 0.9574 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.222e-05/0.5518, allocations: 95.08 kB / 0.9575 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-06/0.5518, allocations: 29.7 kB / 0.9575 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-06/0.5518, allocations: 80.14 kB / 0.9576 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.5519, allocations: 5.25 kB / 0.9576 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.5519, allocations: 9.719 kB / 0.9576 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.133e-05/0.5519, allocations: 316.2 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/0.5519, allocations: 0 / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.5519, allocations: 1.25 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.782e-05/0.552, allocations: 11.33 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.552, allocations: 1.375 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.756e-05/0.552, allocations: 38.27 kB / 0.9579 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.552, allocations: 6.469 kB / 0.9579 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.552, allocations: 3.938 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.552, allocations: 0.75 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.013e-05/0.5521, allocations: 1.094 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.5521, allocations: 0.9688 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-06/0.5521, allocations: 0 / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.5521, allocations: 5.047 kB / 0.9579 GB, free: 4.895 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 (1): * Single equations (assignments): 1 * 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 3.138e-05/0.5521, allocations: 111 kB / 0.958 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-06/0.5521, allocations: 1.031 kB / 0.958 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.5522, allocations: 40.61 kB / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5522, allocations: 8.875 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5522, allocations: 0 / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5522, allocations: 0.9062 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.938e-05/0.5523, allocations: 146.6 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.5523, allocations: 0 / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.074e-05/0.5523, allocations: 2.281 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5523, allocations: 4.031 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.5523, allocations: 12.97 kB / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.5523, allocations: 0 / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5523, allocations: 0 / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.971e-05/0.5524, allocations: 59.22 kB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.5524, allocations: 77.89 kB / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.5524, allocations: 5.031 kB / 0.9584 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.5524, allocations: 4.031 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.5524, allocations: 1 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.5524, allocations: 0 / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.047e-06/0.5524, allocations: 75.28 kB / 0.9585 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.41e-07/0.5524, allocations: 1.062 kB / 0.9585 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002072/0.5526, allocations: 32.48 kB / 0.9585 GB, free: 4.262 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 (1): * Single equations (assignments): 1 * 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.000285/0.5529, allocations: 0.6357 MB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.117e-05/0.553, allocations: 7.203 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.553, allocations: 4.094 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.141e-06/0.553, allocations: 6.281 kB / 0.9591 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.5531, allocations: 1.094 kB / 0.9591 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.5533, allocations: 110.6 kB / 0.9592 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.5534, allocations: 0.6779 MB / 0.9599 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.927e-06/0.5534, allocations: 1.188 kB / 0.9599 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-06/0.5534, allocations: 7.438 kB / 0.9599 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.5534, allocations: 0 / 0.9599 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009974/0.5634, allocations: 1.197 MB / 0.9611 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.5636, allocations: 203 kB / 0.9613 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.118, allocations: 4 kB / 0.9613 GB, free: 1.953 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat