Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.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.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",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.001218/0.001218, allocations: 108 kB / 15.6 MB, free: 132 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.001152/0.001152, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.299/2.299, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 71.88 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5014, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001623/0.5031, allocations: 0.59 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003103/0.5034, allocations: 103.6 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.142e-05/0.5035, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.5035, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.908e-06/0.5035, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.5038, allocations: 35.91 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.035e-05/0.5038, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.5039, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.5039, allocations: 7.984 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.553e-05/0.5039, allocations: 4 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.154e-06/0.5039, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.504, allocations: 35.91 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.5041, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.5041, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.5042, allocations: 35.89 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5042, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5042, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.5042, allocations: 0 / 1.018 GB, free: 1.672 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.0002414/0.5045, allocations: 323.6 kB / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.5045, allocations: 12.03 kB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.5045, allocations: 34.69 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.5046, allocations: 0.9375 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.5046, allocations: 160.4 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.5047, allocations: 4.359 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-06/0.5047, allocations: 384 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.5047, allocations: 34.25 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.5048, allocations: 3.938 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-06/0.5048, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.5048, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.42e-05/0.5048, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.5049, allocations: 149.7 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 2.949e-05/0.5049, allocations: 18.52 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.505, allocations: 4.859 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.5051, allocations: 85.19 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5052, allocations: 38.56 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5052, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.5053, allocations: 45.53 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.5053, allocations: 55.34 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.734e-05/0.5054, allocations: 93.8 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.5054, allocations: 25.7 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.5054, allocations: 80.14 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.5054, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.5055, allocations: 17.84 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5056, allocations: 314.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.5056, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.5056, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.5056, allocations: 8.859 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5056, allocations: 7.922 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.741e-05/0.5057, allocations: 33.7 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.5057, allocations: 7.938 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5057, allocations: 8.031 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.485e-06/0.5057, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.77e-05/0.5058, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5058, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.5058, allocations: 4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.5058, allocations: 0 / 1.02 GB, free: 15.87 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.943e-05/0.5059, allocations: 109.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.5059, allocations: 3.984 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.5059, allocations: 40.77 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.506, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.506, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.506, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.339e-05/0.5061, allocations: 145.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5061, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.5061, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.5061, allocations: 7.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.5061, allocations: 3.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.5061, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5061, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.688e-05/0.5062, allocations: 61.16 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.5062, allocations: 81.11 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.5062, allocations: 3.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.5062, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-06/0.5063, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.5063, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.5063, allocations: 75.28 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5063, allocations: 4.031 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001912/0.5065, allocations: 8 kB / 1.02 GB, free: 15.23 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.0003813/0.5069, allocations: 0.6262 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.296e-05/0.5069, allocations: 8.031 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.507, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.507, allocations: 7.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.5071, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.5073, allocations: 122.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.5075, allocations: 0.6729 MB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.5075, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.5076, allocations: 11.44 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5076, allocations: 4.125 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9801/1.488, allocations: 1.114 MB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/8.603, allocations: 14.92 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat