Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.264/2.264, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001489/0.001489, allocations: 176 kB / 0.4901 GB, free: 2.273 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.632/1.632, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001127/0.001126, allocations: 98.27 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003649, allocations: 11.09 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.5373, allocations: 150.2 MB / 1.376 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5377, allocations: 75.95 kB / 1.376 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003628/0.5413, allocations: 1.059 MB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5414, allocations: 0 / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5414, allocations: 0 / 1.377 GB, free: 2.145 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004756/0.5419, allocations: 347.3 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.5419, allocations: 8.031 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.542, allocations: 30.56 kB / 1.377 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.542, allocations: 7.906 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.5422, allocations: 178.9 kB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.5422, allocations: 0 / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.5423, allocations: 11.94 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.5425, allocations: 53.67 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5425, allocations: 0 / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5425, allocations: 0 / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5425, allocations: 0 / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.5427, allocations: 43.97 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.5432, allocations: 272.9 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.5433, allocations: 38.5 kB / 1.378 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.5435, allocations: 93.16 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5436, allocations: 30.56 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5436, allocations: 4 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004151/0.544, allocations: 89.64 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.5441, allocations: 59.47 kB / 1.378 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.5442, allocations: 96.95 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.5442, allocations: 37.62 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.5443, allocations: 84.14 kB / 1.379 GB, free: 476 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.5443, allocations: 3.906 kB / 1.379 GB, free: 472 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.5443, allocations: 0 / 1.379 GB, free: 472 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5444, allocations: 310.8 kB / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.5445, allocations: 27.98 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.5446, allocations: 19.97 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.5447, allocations: 23.98 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5447, allocations: 0 / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002172/0.545, allocations: 73.73 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.545, allocations: 8.094 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.545, allocations: 7.938 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5451, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.5451, allocations: 8.031 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.5452, allocations: 4 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.5452, allocations: 11.89 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.5452, allocations: 7.953 kB / 1.379 GB, free: 15.95 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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.744e-05/0.5453, allocations: 110.3 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.5454, allocations: 4 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.5456, allocations: 84.77 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5457, allocations: 0 / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5457, allocations: 0 / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5457, allocations: 4 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.5458, allocations: 157.6 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5458, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.5459, allocations: 16.02 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5459, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.5459, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5459, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5459, allocations: 192 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.5462, allocations: 183.4 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.5463, allocations: 81.09 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.5463, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.5464, allocations: 11.98 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.5464, allocations: 3.938 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5464, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.5465, allocations: 91.3 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5465, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002393/0.5467, allocations: 19.94 kB / 1.38 GB, free: 15.1 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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.0007087/0.5475, allocations: 0.7296 MB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.5477, allocations: 48 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5477, allocations: 0 / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.5478, allocations: 27.97 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.548, allocations: 0.6875 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.5485, allocations: 150.4 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.5488, allocations: 0.6809 MB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.5488, allocations: 3.984 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.5489, allocations: 11.44 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of SimCode: time 2.705e-06/0.5489, allocations: 0 / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.5622, allocations: 1.231 MB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.5625, allocations: 193.4 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.087, allocations: 0 / 1.383 GB, free: 12.02 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat