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.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.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.001165/0.001165, 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.001254/0.001254, allocations: 192.8 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.109/2.109, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5326, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002321/0.535, allocations: 1.489 MB / 0.9507 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005302/0.5355, allocations: 351.5 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.5356, allocations: 0 / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.5356, allocations: 1.375 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.5357, allocations: 3.938 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.5361, allocations: 89.11 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.15e-05/0.5362, allocations: 21.55 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.5362, allocations: 6.75 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.5363, allocations: 10.72 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.5363, allocations: 10.69 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.5363, allocations: 6.75 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.5365, allocations: 130.8 kB / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.5365, allocations: 7.984 kB / 0.9513 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.5366, allocations: 9.828 kB / 0.9513 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.5367, allocations: 93.09 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5367, allocations: 0 / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.71e-07/0.5367, allocations: 1.438 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.5368, allocations: 0 / 0.9514 GB, free: 7.461 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.0003405/0.5371, allocations: 352.3 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5371, allocations: 13.44 kB / 0.9517 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.2e-05/0.5372, allocations: 32 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.5372, allocations: 2.344 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.671e-05/0.5373, allocations: 174.1 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.5373, allocations: 384 / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.5373, allocations: 1.469 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.5374, allocations: 49.89 kB / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.5375, allocations: 7.875 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.5375, allocations: 0 / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5375, allocations: 5.438 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.5376, allocations: 29.94 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.5379, allocations: 249.5 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.538, allocations: 38.72 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.756e-05/0.5381, allocations: 27.06 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.5386, allocations: 459.1 kB / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.5387, allocations: 34.5 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.5387, allocations: 4 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003035/0.539, allocations: 80.14 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.539, allocations: 52.91 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.5391, allocations: 103.4 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.5391, allocations: 25.7 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.5391, allocations: 85.58 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.5391, allocations: 11.84 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.5391, allocations: 12.5 kB / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.727e-05/0.5392, allocations: 316.2 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.5393, allocations: 16.45 kB / 0.9535 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.5393, allocations: 17.42 kB / 0.9535 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.5395, allocations: 43.2 kB / 0.9535 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5395, allocations: 5.125 kB / 0.9535 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001635/0.5396, allocations: 64.69 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5397, allocations: 4.719 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5397, allocations: 0 / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5397, allocations: 1.25 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.5398, allocations: 9.516 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5398, allocations: 4.031 kB / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.5398, allocations: 11.77 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.5398, allocations: 1.344 kB / 0.9536 GB, free: 5.094 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.382e-05/0.5399, allocations: 114.9 kB / 0.9537 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.5399, allocations: 4.938 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.5401, allocations: 70.94 kB / 0.9538 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5401, allocations: 4.031 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5401, allocations: 1.594 kB / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5401, allocations: 0 / 0.9538 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.5402, allocations: 166.1 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5403, allocations: 0 / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.5403, allocations: 6.438 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5403, allocations: 0 / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5403, allocations: 5.547 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5403, allocations: 0 / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5403, allocations: 0 / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.5405, allocations: 170.8 kB / 0.9542 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.5405, allocations: 78.17 kB / 0.9542 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.5406, allocations: 1.312 kB / 0.9542 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.5406, allocations: 7.125 kB / 0.9542 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.5407, allocations: 8.812 kB / 0.9543 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.5407, allocations: 1.312 kB / 0.9543 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.991e-05/0.5407, allocations: 86.34 kB / 0.9543 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.5407, allocations: 0 / 0.9543 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000241/0.541, allocations: 28.06 kB / 0.9544 GB, free: 4.348 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.0004556/0.5414, allocations: 0.7376 MB / 0.9551 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.5416, allocations: 32.84 kB / 0.9551 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5416, allocations: 4.062 kB / 0.9551 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.5417, allocations: 23.39 kB / 0.9551 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.5419, allocations: 6.484 kB / 0.9551 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.5423, allocations: 140.9 kB / 0.9553 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.5424, allocations: 0.6857 MB / 0.9559 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.5424, allocations: 4.062 kB / 0.956 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.5424, allocations: 12.78 kB / 0.956 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.5424, allocations: 0 / 0.956 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7287/1.271, allocations: 1.583 MB / 0.9575 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/1.271, allocations: 198.9 kB / 0.9577 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.728, allocations: 0 / 0.9577 GB, free: 1.656 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