Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_10_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.001289/0.00129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001489/0.001489, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6218, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001662/0.6235, allocations: 0.649 MB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005623/0.6241, allocations: 307 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-06/0.6241, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.6241, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-06/0.6242, allocations: 7.938 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.6245, allocations: 83.78 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.259e-05/0.6245, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.6246, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.985e-06/0.6246, allocations: 3.938 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.361e-05/0.6246, allocations: 3.984 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-06/0.6246, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.6249, allocations: 139.8 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-06/0.6249, allocations: 3.984 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.059e-05/0.6249, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.625, allocations: 75.81 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.625, allocations: 0 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.61e-07/0.625, allocations: 0 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.404e-06/0.625, allocations: 4 kB / 1.018 GB, free: 1.48 MB / 0.7637 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.0002046/0.6253, allocations: 331.5 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.451e-05/0.6253, allocations: 11.97 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.316e-05/0.6253, allocations: 34.73 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.194e-05/0.6253, allocations: 0.9375 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.146e-05/0.6254, allocations: 160.4 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.6254, allocations: 4.375 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.6254, allocations: 8.312 kB / 1.018 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.507e-05/0.6255, allocations: 26.27 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.6255, allocations: 3.938 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.6255, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.6255, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.6256, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.6257, allocations: 149.7 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.188e-05/0.6257, allocations: 18.58 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.6257, allocations: 12.89 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006954/0.6264, allocations: 469.5 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.6265, allocations: 30.56 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.6265, allocations: 4 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001117/0.6266, allocations: 37.62 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.6266, allocations: 51.41 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.6267, allocations: 89.86 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6267, allocations: 25.7 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.6267, allocations: 84.14 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.6267, allocations: 4.125 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.6268, allocations: 13.72 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.6269, allocations: 310.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.6269, allocations: 3.938 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.6269, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.183e-05/0.6269, allocations: 12.84 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6269, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.556e-05/0.627, allocations: 37.77 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.627, allocations: 8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.627, allocations: 7.875 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.627, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.773e-05/0.627, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.627, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.6271, allocations: 8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.6271, allocations: 3.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 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 5.658e-05/0.6271, allocations: 114.3 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-06/0.6271, allocations: 4.031 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.6272, allocations: 44.77 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6272, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6272, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-06/0.6272, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.635e-05/0.6273, allocations: 145.7 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6273, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.6273, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.6274, allocations: 4 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.6274, allocations: 7.922 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6274, allocations: 4.031 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6274, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.681e-05/0.6274, allocations: 61.06 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.6275, allocations: 77.11 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.6275, allocations: 7.938 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.6275, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.6275, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.6275, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.143e-05/0.6275, allocations: 79.31 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6276, allocations: 0 / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000211/0.6278, allocations: 28 kB / 1.02 GB, free: 14.55 MB / 0.7794 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.0004387/0.6282, allocations: 0.638 MB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.469e-05/0.6283, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6283, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.6283, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.6284, allocations: 6.016 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.6287, allocations: 122.5 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.6289, allocations: 0.6731 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.048e-05/0.6289, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.6289, allocations: 7.438 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6289, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.6391, allocations: 1.282 MB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.6394, allocations: 205.1 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.246, allocations: 7.938 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat