Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_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.001277/0.001277, 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.001337/0.001337, allocations: 196.2 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.52 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2539, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001777/0.2557, allocations: 0.5855 MB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003244/0.256, allocations: 103.6 kB / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.2561, allocations: 0 / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.2561, allocations: 3.938 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-06/0.2561, allocations: 0 / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2564, allocations: 31.91 kB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.57e-05/0.2565, allocations: 7.984 kB / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.2565, allocations: 0 / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.2565, allocations: 4 kB / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.398e-05/0.2565, allocations: 0 / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.2566, allocations: 0 / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.2567, allocations: 43.91 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.2567, allocations: 0 / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.2567, allocations: 0 / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.2568, allocations: 31.89 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2569, allocations: 0 / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2569, allocations: 0 / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2569, allocations: 0 / 1.054 GB, free: 7.43 MB / 0.8106 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.000246/0.2571, allocations: 321.1 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2572, allocations: 12.62 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.2572, allocations: 30.75 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.2572, allocations: 0.9375 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.2573, allocations: 164.4 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2573, allocations: 384 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-06/0.2574, allocations: 384 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.2574, allocations: 38.19 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2574, allocations: 3.938 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.2575, allocations: 3.984 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2575, allocations: 4 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.2575, allocations: 0 / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.2576, allocations: 145.7 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.2576, allocations: 18.58 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.2577, allocations: 8.797 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.2579, allocations: 85.16 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2579, allocations: 38.5 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2579, allocations: 0 / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.258, allocations: 41.62 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2581, allocations: 55.41 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.769e-05/0.2581, allocations: 89.86 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.2581, allocations: 25.7 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.2582, allocations: 80.14 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2582, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.2582, allocations: 13.84 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.2583, allocations: 314.8 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.2583, allocations: 3.938 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.2583, allocations: 7.922 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.2584, allocations: 12.86 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2584, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.122e-05/0.2584, allocations: 29.7 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2584, allocations: 9.25 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2585, allocations: 8.031 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2585, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.117e-05/0.2585, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2585, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.2585, allocations: 4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2585, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 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.536e-05/0.2586, allocations: 109.8 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.2586, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.2587, allocations: 48.69 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2587, allocations: 4.031 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2587, allocations: 0 / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2587, allocations: 4 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.926e-05/0.2588, allocations: 145.7 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2588, allocations: 0 / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.2588, allocations: 0 / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2588, allocations: 4 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2588, allocations: 7.938 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2589, allocations: 0 / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2589, allocations: 0 / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.203e-05/0.2589, allocations: 65.06 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.259, allocations: 77.11 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.259, allocations: 7.938 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-06/0.259, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-06/0.259, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.259, allocations: 3.938 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.08e-05/0.259, allocations: 75.28 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2591, allocations: 32 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000196/0.2593, allocations: 16 kB / 1.056 GB, free: 4.984 MB / 0.8106 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.0003683/0.2596, allocations: 0.6126 MB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.388e-05/0.2597, allocations: 11.97 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2597, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.2597, allocations: 4 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.2599, allocations: 4 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.2601, allocations: 120.6 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2603, allocations: 0.669 MB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.019e-05/0.2603, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.2604, allocations: 7.438 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.2604, allocations: 4.125 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.2767, allocations: 1.132 MB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.226, allocations: 19.94 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat