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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.52/2.52, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 195.5 kB / 0.4901 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.1 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008498/0.0008497, allocations: 106.3 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 10.41 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3157, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.5209, allocations: 149.5 MB / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5212, allocations: 79.95 kB / 1.375 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00252/0.5238, allocations: 0.7542 MB / 1.376 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5238, allocations: 0 / 1.376 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5238, allocations: 4 kB / 1.376 GB, free: 3.023 MB / 0.8698 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.0003542/0.5242, allocations: 325.1 kB / 1.376 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.5243, allocations: 8.562 kB / 1.376 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.5243, allocations: 30.56 kB / 1.376 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.5244, allocations: 0 / 1.376 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.5245, allocations: 163 kB / 1.377 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5245, allocations: 4 kB / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.5245, allocations: 4 kB / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.5247, allocations: 33.62 kB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5247, allocations: 0 / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5247, allocations: 0 / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5247, allocations: 0 / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.5248, allocations: 11.98 kB / 1.377 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.525, allocations: 145.6 kB / 1.377 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.419e-05/0.525, allocations: 18.58 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.5253, allocations: 89.19 kB / 1.377 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5253, allocations: 34.56 kB / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.5253, allocations: 0 / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002095/0.5255, allocations: 37.62 kB / 1.377 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.5256, allocations: 51.41 kB / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.5257, allocations: 85 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.5257, allocations: 33.83 kB / 1.377 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.5257, allocations: 80.14 kB / 1.377 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.5258, allocations: 3.938 kB / 1.377 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.5258, allocations: 0 / 1.377 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.526, allocations: 314.8 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.526, allocations: 0 / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-06/0.526, allocations: 4 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.787e-05/0.526, allocations: 3.953 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.526, allocations: 4.062 kB / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.713e-05/0.5261, allocations: 41.56 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5261, allocations: 4 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5261, allocations: 4 kB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5262, allocations: 0 / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.5262, allocations: 4 kB / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5262, allocations: 0 / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.5262, allocations: 0 / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5262, allocations: 4 kB / 1.378 GB, free: 1.277 MB / 0.8698 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 7.01e-05/0.5263, allocations: 113.8 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.5263, allocations: 0 / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.5265, allocations: 48.66 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5265, allocations: 0 / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5265, allocations: 0 / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5265, allocations: 0 / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.136e-05/0.5266, allocations: 145.7 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5266, allocations: 3.953 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.5266, allocations: 0 / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5266, allocations: 3.984 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5266, allocations: 4.031 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5266, allocations: 7.984 kB / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5267, allocations: 0 / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.5268, allocations: 53.14 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.5268, allocations: 81.06 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.5268, allocations: 3.984 kB / 1.378 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.5268, allocations: 4 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5269, allocations: 4.031 kB / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.5269, allocations: 3.938 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.5269, allocations: 75.28 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.043e-06/0.5269, allocations: 0 / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002117/0.5272, allocations: 19.88 kB / 1.378 GB, free: 0.6172 MB / 0.8698 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.0005292/0.5277, allocations: 0.6148 MB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.5278, allocations: 11.98 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5278, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.5278, allocations: 3.938 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.5279, allocations: 4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.5283, allocations: 116.5 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5286, allocations: 0.6692 MB / 1.379 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.5287, allocations: 0 / 1.379 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.5287, allocations: 11.44 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of SimCode: time 6.12e-07/0.5287, allocations: 3.938 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.5423, allocations: 0.9405 MB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.5427, allocations: 200.3 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.116, allocations: 0 / 1.381 GB, free: 14.08 MB / 0.8855 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/linux/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