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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.00123/0.00123, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00142/0.00142, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6372/0.6376, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0006105/0.6382, allocations: 313.4 kB / 0.9539 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005128/0.6387, allocations: 275.1 kB / 0.9542 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-06/0.6388, allocations: 0 / 0.9542 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.135e-06/0.6388, allocations: 1.312 kB / 0.9542 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-06/0.6388, allocations: 4 kB / 0.9542 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.6392, allocations: 70.67 kB / 0.9542 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.171e-05/0.6392, allocations: 5.297 kB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.6392, allocations: 3.984 kB / 0.9542 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.254e-05/0.6393, allocations: 1.469 kB / 0.9542 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.6393, allocations: 0 / 0.9542 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-06/0.6393, allocations: 0 / 0.9542 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.6396, allocations: 128.8 kB / 0.9544 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.291e-06/0.6396, allocations: 3.984 kB / 0.9544 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.6396, allocations: 33.64 kB / 0.9544 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.6397, allocations: 42.08 kB / 0.9544 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.6397, allocations: 0 / 0.9544 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6397, allocations: 0 / 0.9544 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.6397, allocations: 0 / 0.9544 GB, free: 7.516 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.0001748/0.6399, allocations: 330.5 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.6399, allocations: 9.25 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.436e-05/0.64, allocations: 40.66 kB / 0.9548 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.64, allocations: 3.953 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.618e-05/0.64, allocations: 159.1 kB / 0.955 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.6401, allocations: 4 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.6401, allocations: 1.312 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.782e-05/0.6401, allocations: 26.3 kB / 0.955 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.6402, allocations: 5.266 kB / 0.955 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.6402, allocations: 0 / 0.955 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6402, allocations: 0 / 0.955 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.6402, allocations: 6.297 kB / 0.955 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.355e-05/0.6403, allocations: 145.7 kB / 0.9551 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.855e-05/0.6403, allocations: 28.7 kB / 0.9552 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/0.641, allocations: 465.7 kB / 0.9556 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.641, allocations: 43.62 kB / 0.9557 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.641, allocations: 0 / 0.9557 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001064/0.6411, allocations: 34.19 kB / 0.9557 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.6412, allocations: 56.44 kB / 0.9557 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.381e-05/0.6412, allocations: 89.86 kB / 0.9558 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-06/0.6412, allocations: 25.7 kB / 0.9559 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.111e-05/0.6412, allocations: 81.2 kB / 0.9559 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.6412, allocations: 3.906 kB / 0.9559 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.6412, allocations: 4.125 kB / 0.9559 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.6413, allocations: 315.8 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.6413, allocations: 1 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.6413, allocations: 5.062 kB / 0.9562 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.367e-05/0.6413, allocations: 1.219 kB / 0.9562 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6413, allocations: 1.094 kB / 0.9562 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.41e-05/0.6414, allocations: 33.91 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6414, allocations: 5.031 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6414, allocations: 5.156 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.6414, allocations: 0 / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.6415, allocations: 1.875 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6415, allocations: 0 / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.6415, allocations: 0.9375 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.6415, allocations: 9.281 kB / 0.9563 GB, free: 5.406 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.6415, allocations: 113.7 kB / 0.9564 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-06/0.6415, allocations: 1.219 kB / 0.9564 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.6416, allocations: 44.94 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6416, allocations: 0 / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6416, allocations: 1.125 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6416, allocations: 0 / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.809e-05/0.6417, allocations: 150.8 kB / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6417, allocations: 0 / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.6417, allocations: 2.906 kB / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6417, allocations: 0 / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.6417, allocations: 0 / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6417, allocations: 1.25 kB / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6417, allocations: 0 / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.988e-05/0.6418, allocations: 66.72 kB / 0.9567 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.6418, allocations: 81.09 kB / 0.9567 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.6418, allocations: 1.656 kB / 0.9567 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-06/0.6418, allocations: 0 / 0.9567 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.6419, allocations: 1.094 kB / 0.9567 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6419, allocations: 0 / 0.9567 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.124e-05/0.6419, allocations: 76.41 kB / 0.9568 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6419, allocations: 4.031 kB / 0.9568 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002493/0.6421, allocations: 24.78 kB / 0.9568 GB, free: 4.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003317/0.6425, allocations: 0.6389 MB / 0.9575 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5e-05/0.6425, allocations: 3.156 kB / 0.9575 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6425, allocations: 0 / 0.9575 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.6426, allocations: 7.219 kB / 0.9575 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.376e-05/0.6426, allocations: 0 / 0.9575 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.6429, allocations: 116 kB / 0.9576 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.585e-05/0.643, allocations: 0.6751 MB / 0.9582 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.094e-05/0.643, allocations: 5.031 kB / 0.9583 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.643, allocations: 8.5 kB / 0.9583 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.643, allocations: 0 / 0.9583 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009905/0.6529, allocations: 1.217 MB / 0.9594 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001215/0.6531, allocations: 188 kB / 0.9596 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.225, allocations: 0 / 0.9596 GB, free: 2.488 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/linux/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