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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001295/0.001295, allocations: 194.7 kB / 16.25 MB, free: 6.633 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.103/2.103, allocations: 390.2 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 71.88 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5383, allocations: 140.4 MB / 0.9492 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001953/0.5403, allocations: 0.6423 MB / 0.9499 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.541, allocations: 279.5 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.541, allocations: 4 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.541, allocations: 0 / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.541, allocations: 1.375 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.5415, allocations: 87.64 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.5416, allocations: 1.25 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.5416, allocations: 1.469 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.5416, allocations: 3.984 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.057e-05/0.5417, allocations: 3.938 kB / 0.9502 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.5417, allocations: 1.281 kB / 0.9502 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.5419, allocations: 133.4 kB / 0.9504 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.5419, allocations: 7.984 kB / 0.9504 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.542, allocations: 4 kB / 0.9504 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.5421, allocations: 73.95 kB / 0.9504 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5421, allocations: 0 / 0.9504 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5421, allocations: 0 / 0.9504 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.5421, allocations: 0 / 0.9504 GB, free: 8.172 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.0002664/0.5424, allocations: 325.2 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5425, allocations: 8.25 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.5425, allocations: 32.12 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.5425, allocations: 0.9375 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.672e-05/0.5426, allocations: 164.4 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.5426, allocations: 1.75 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-06/0.5426, allocations: 4.359 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.5427, allocations: 33.02 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5427, allocations: 3.938 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.5427, allocations: 3.938 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5427, allocations: 0 / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.5427, allocations: 5.359 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.704e-05/0.5428, allocations: 147.1 kB / 0.9511 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.839e-05/0.5429, allocations: 17.33 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.5429, allocations: 12.8 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005755/0.5435, allocations: 454.8 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5435, allocations: 35.94 kB / 0.9516 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.5435, allocations: 0 / 0.9516 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.5436, allocations: 46.98 kB / 0.9517 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.5437, allocations: 51.41 kB / 0.9517 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.751e-05/0.5437, allocations: 89.86 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.5437, allocations: 25.7 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.126e-05/0.5437, allocations: 81.52 kB / 0.9519 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.5437, allocations: 8.109 kB / 0.9519 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.5438, allocations: 12.47 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.5438, allocations: 310.8 kB / 0.9522 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.5438, allocations: 5.375 kB / 0.9522 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.5438, allocations: 1.375 kB / 0.9522 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.5439, allocations: 11.55 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5439, allocations: 0 / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.721e-05/0.5439, allocations: 29.89 kB / 0.9523 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/0.5439, allocations: 9.531 kB / 0.9523 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5439, allocations: 7.922 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5439, allocations: 1.375 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.554e-05/0.544, allocations: 1.375 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.544, allocations: 3.938 kB / 0.9523 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-06/0.544, allocations: 1.375 kB / 0.9523 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.544, allocations: 0 / 0.9523 GB, free: 6.039 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.617e-05/0.544, allocations: 107.2 kB / 0.9524 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.5441, allocations: 4 kB / 0.9524 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.5441, allocations: 50.19 kB / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5441, allocations: 0 / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5441, allocations: 0 / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5441, allocations: 1.375 kB / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.187e-05/0.5442, allocations: 141.7 kB / 0.9526 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5442, allocations: 5.375 kB / 0.9526 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-06/0.5442, allocations: 1.375 kB / 0.9526 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.5442, allocations: 0 / 0.9526 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.5442, allocations: 9.297 kB / 0.9526 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5442, allocations: 32 / 0.9526 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5442, allocations: 7.938 kB / 0.9526 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.295e-05/0.5443, allocations: 58.58 kB / 0.9527 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.5443, allocations: 78.48 kB / 0.9528 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.5443, allocations: 3.938 kB / 0.9528 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.5443, allocations: 1.375 kB / 0.9528 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.5443, allocations: 3.984 kB / 0.9528 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.5443, allocations: 1.375 kB / 0.9528 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.5444, allocations: 79.31 kB / 0.9528 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5444, allocations: 0 / 0.9528 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001992/0.5446, allocations: 24.62 kB / 0.9529 GB, free: 5.41 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.0003453/0.5449, allocations: 0.6439 MB / 0.9535 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.545, allocations: 7.969 kB / 0.9535 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.545, allocations: 0 / 0.9535 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.545, allocations: 1.781 kB / 0.9535 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.5451, allocations: 1.125 kB / 0.9535 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.5454, allocations: 122.1 kB / 0.9536 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.884e-05/0.5455, allocations: 0.6743 MB / 0.9543 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.157e-06/0.5455, allocations: 1.531 kB / 0.9543 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.5455, allocations: 7.438 kB / 0.9543 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5455, allocations: 0 / 0.9543 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2241/0.7696, allocations: 1.292 MB / 0.9555 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.7698, allocations: 207 kB / 0.9557 GB, free: 3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.407, allocations: 0 / 0.9557 GB, free: 3 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