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.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001403/0.001403, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.341/2.341, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5584, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001739/0.5602, allocations: 0.6436 MB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005607/0.5608, allocations: 299 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.5608, allocations: 3.938 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.5608, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.5609, allocations: 7.938 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.5613, allocations: 87.86 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.333e-05/0.5614, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.5614, allocations: 4 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.5614, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.5615, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.5615, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.5617, allocations: 139.7 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.5617, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.5617, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.5619, allocations: 83.81 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5619, allocations: 3.938 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5619, allocations: 4 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5619, allocations: 0 / 1.018 GB, free: 1.438 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.000282/0.5622, allocations: 327.6 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5623, allocations: 15.97 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.5623, allocations: 30.75 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.933e-05/0.5623, allocations: 0.9375 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.5624, allocations: 168.3 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.5624, allocations: 4.359 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.5624, allocations: 384 / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.677e-05/0.5625, allocations: 38.27 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5625, allocations: 3.938 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.5625, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5625, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.5626, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.5627, allocations: 149.6 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.751e-05/0.5627, allocations: 18.52 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.5627, allocations: 12.84 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007357/0.5635, allocations: 469.5 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.5635, allocations: 30.56 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5635, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.5636, allocations: 37.64 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5637, allocations: 55.41 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.067e-05/0.5637, allocations: 89.86 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5637, allocations: 33.62 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.5638, allocations: 80.14 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.5638, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.5638, allocations: 9.719 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.5639, allocations: 319 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.5639, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-06/0.5639, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.564, allocations: 12.86 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.564, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.208e-05/0.564, allocations: 33.69 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.564, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.564, allocations: 7.938 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5641, allocations: 4.094 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.5641, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5641, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.5641, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.5641, allocations: 3.938 kB / 1.02 GB, free: 15.18 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.543e-05/0.5642, allocations: 110.4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.5642, allocations: 3.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.5643, allocations: 44.75 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5643, allocations: 4.031 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5643, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5643, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.5644, allocations: 145.7 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5644, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.5644, allocations: 3.984 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.5644, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5644, allocations: 3.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5644, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5644, allocations: 7.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.671e-05/0.5645, allocations: 61.14 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.5645, allocations: 77.11 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.5645, allocations: 7.922 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-06/0.5646, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.5646, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.5646, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.143e-05/0.5646, allocations: 75.28 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5646, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002018/0.5648, allocations: 28.03 kB / 1.021 GB, free: 14.51 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.0004441/0.5653, allocations: 0.6458 MB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.5653, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5653, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.5654, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.5655, allocations: 3.984 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.5658, allocations: 122.7 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.566, allocations: 0.6768 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.158e-05/0.566, allocations: 7.938 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.566, allocations: 7.438 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.566, allocations: 3.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.5801, allocations: 1.303 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.5803, allocations: 203.6 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.19, allocations: 3.938 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