Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001659/0.001659, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.248/2.248, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5695, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001723/0.5712, allocations: 0.6415 MB / 0.9497 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005911/0.5718, allocations: 320.3 kB / 0.95 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-06/0.5719, allocations: 0 / 0.95 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.5719, allocations: 5 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-06/0.5719, allocations: 0 / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.5723, allocations: 77.33 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.096e-05/0.5723, allocations: 1.594 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.5723, allocations: 5.172 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.5724, allocations: 1.594 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.5724, allocations: 4 kB / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-06/0.5724, allocations: 0 / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.5726, allocations: 138.3 kB / 0.9502 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.5727, allocations: 3.938 kB / 0.9502 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.5727, allocations: 1.375 kB / 0.9502 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.5728, allocations: 74 kB / 0.9503 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5728, allocations: 0 / 0.9503 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5728, allocations: 0 / 0.9503 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.5728, allocations: 0 / 0.9503 GB, free: 8.227 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.0002194/0.5731, allocations: 331.8 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5731, allocations: 9.625 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.5731, allocations: 36.06 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.5732, allocations: 4.875 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.286e-05/0.5732, allocations: 164.4 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.5732, allocations: 1.75 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.5732, allocations: 384 / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.149e-05/0.5733, allocations: 27.64 kB / 0.9508 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.5733, allocations: 5.312 kB / 0.9508 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.5733, allocations: 4 kB / 0.9508 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5733, allocations: 0 / 0.9508 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.5734, allocations: 1.375 kB / 0.9508 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.634e-05/0.5735, allocations: 147.1 kB / 0.951 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.983e-05/0.5735, allocations: 23.88 kB / 0.951 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.5735, allocations: 6.234 kB / 0.951 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000661/0.5742, allocations: 472.5 kB / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.5742, allocations: 30.56 kB / 0.9515 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5742, allocations: 0 / 0.9515 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001085/0.5743, allocations: 39.23 kB / 0.9515 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.5744, allocations: 59.33 kB / 0.9516 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.768e-05/0.5744, allocations: 89.86 kB / 0.9517 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-06/0.5744, allocations: 27.08 kB / 0.9517 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-06/0.5744, allocations: 80.14 kB / 0.9518 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.5744, allocations: 5.281 kB / 0.9518 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.5744, allocations: 15.09 kB / 0.9518 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.5745, allocations: 310.8 kB / 0.9521 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.5745, allocations: 5.406 kB / 0.9521 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-06/0.5745, allocations: 5.312 kB / 0.9521 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.5745, allocations: 7.609 kB / 0.9521 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5745, allocations: 0 / 0.9521 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.924e-05/0.5746, allocations: 39.19 kB / 0.9522 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.5746, allocations: 4.125 kB / 0.9522 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5746, allocations: 9.25 kB / 0.9522 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.5746, allocations: 0 / 0.9522 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.309e-05/0.5747, allocations: 1.375 kB / 0.9522 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5747, allocations: 5.469 kB / 0.9522 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-06/0.5747, allocations: 0 / 0.9522 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.5747, allocations: 0 / 0.9522 GB, free: 6.082 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.716e-05/0.5747, allocations: 111.2 kB / 0.9523 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-06/0.5747, allocations: 5.312 kB / 0.9523 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.5748, allocations: 40.88 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5748, allocations: 0 / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5748, allocations: 1.375 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5748, allocations: 8.031 kB / 0.9523 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.182e-05/0.5749, allocations: 147.1 kB / 0.9525 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5749, allocations: 0 / 0.9525 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.5749, allocations: 5.359 kB / 0.9525 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5749, allocations: 0 / 0.9525 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.5749, allocations: 9.25 kB / 0.9525 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.5749, allocations: 0 / 0.9525 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.5749, allocations: 0 / 0.9525 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.039e-05/0.575, allocations: 56.02 kB / 0.9525 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.575, allocations: 81.09 kB / 0.9526 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.575, allocations: 9.312 kB / 0.9526 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.575, allocations: 0 / 0.9526 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.575, allocations: 3.984 kB / 0.9526 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.575, allocations: 1.375 kB / 0.9526 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.578e-06/0.575, allocations: 75.28 kB / 0.9527 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5751, allocations: 0 / 0.9527 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002167/0.5753, allocations: 30 kB / 0.9527 GB, free: 5.449 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.0003387/0.5756, allocations: 0.6421 MB / 0.9534 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.801e-05/0.5757, allocations: 4.125 kB / 0.9534 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5757, allocations: 0 / 0.9534 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.5757, allocations: 2.75 kB / 0.9534 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.5758, allocations: 1.375 kB / 0.9534 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.5761, allocations: 115.3 kB / 0.9535 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.35e-05/0.5762, allocations: 0.6783 MB / 0.9541 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.5762, allocations: 1.5 kB / 0.9541 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.059e-05/0.5762, allocations: 15.55 kB / 0.9542 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5762, allocations: 0 / 0.9542 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01/0.5862, allocations: 1.276 MB / 0.9554 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/0.5864, allocations: 201.6 kB / 0.9556 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.216, allocations: 0 / 0.9556 GB, free: 3.043 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat