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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001026/0.001026, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.89 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4859, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001714/0.4877, allocations: 0.5764 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.4882, allocations: 299 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.161e-05/0.4883, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.4883, allocations: 3.938 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-06/0.4883, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.4887, allocations: 103.7 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.961e-05/0.4887, allocations: 8 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.4887, allocations: 0 / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.308e-05/0.4888, allocations: 4 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.852e-05/0.4888, allocations: 11.97 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-06/0.4888, allocations: 0 / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.489, allocations: 119.8 kB / 1.019 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.489, allocations: 3.984 kB / 1.019 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.489, allocations: 0 / 1.019 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.4892, allocations: 71.83 kB / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4892, allocations: 0 / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4892, allocations: 0 / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4892, allocations: 8 kB / 1.019 GB, free: 1.297 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.0002552/0.4895, allocations: 331.5 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.4895, allocations: 11.97 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.4895, allocations: 30.75 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.4896, allocations: 0.9375 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.281e-05/0.4896, allocations: 160.4 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.4896, allocations: 384 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.4897, allocations: 4.375 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.236e-05/0.4897, allocations: 26.27 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4897, allocations: 7.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.4898, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4898, allocations: 3.984 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.4898, allocations: 7.938 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.4899, allocations: 153.6 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 2.761e-05/0.4899, allocations: 14.58 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.4899, allocations: 8.953 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/0.4907, allocations: 469.5 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4907, allocations: 34.55 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.4907, allocations: 8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001004/0.4908, allocations: 37.58 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.4908, allocations: 55.41 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.883e-05/0.4909, allocations: 89.86 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.4909, allocations: 25.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.4909, allocations: 80.14 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.4909, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.491, allocations: 13.72 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.491, allocations: 315 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-06/0.4911, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.4911, allocations: 3.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.084e-05/0.4911, allocations: 12.86 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4911, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.63e-05/0.4911, allocations: 37.64 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.4912, allocations: 8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4912, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.4912, allocations: 96 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.913e-05/0.4912, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4912, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-06/0.4912, allocations: 7.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.4912, allocations: 0 / 1.02 GB, free: 15.04 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 4.984e-05/0.4913, allocations: 109.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.4913, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.4914, allocations: 44.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4914, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4914, allocations: 4.031 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.4914, allocations: 7.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.721e-05/0.4915, allocations: 145.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4915, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.4915, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.4915, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.4915, allocations: 7.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4915, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4915, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.647e-05/0.4916, allocations: 61.12 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.4916, allocations: 77.11 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.4916, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.4916, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.4917, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4917, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.4917, allocations: 79.22 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4917, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002045/0.4919, allocations: 31.98 kB / 1.021 GB, free: 14.38 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.0003915/0.4923, allocations: 0.6381 MB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.366e-05/0.4924, allocations: 8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.4924, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.4924, allocations: 3.938 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.4925, allocations: 5.562 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.4927, allocations: 122.6 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.4929, allocations: 0.669 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.127e-05/0.4929, allocations: 4.125 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.493, allocations: 11.38 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.493, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2738/0.7668, allocations: 1.382 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.504/10.27, allocations: 9.266 kB / 1.024 GB, free: 11.5 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