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.038/2.038, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.0009925/0.0009926, allocations: 188.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.000815/0.000815, allocations: 95.84 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.471e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1858, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6579/0.8438, allocations: 149.4 MB / 1.365 GB, free: 4.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.844, allocations: 78.88 kB / 1.365 GB, free: 4.543 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001959/0.846, allocations: 0.7562 MB / 1.366 GB, free: 3.855 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.122e-06/0.846, allocations: 0 / 1.366 GB, free: 3.855 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.846, allocations: 0 / 1.366 GB, free: 3.855 MB / 0.823 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.0002117/0.8462, allocations: 319.3 kB / 1.366 GB, free: 3.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8463, allocations: 12.03 kB / 1.366 GB, free: 3.488 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.8463, allocations: 38.17 kB / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.8464, allocations: 0 / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.626e-05/0.8465, allocations: 166.4 kB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.8465, allocations: 4 kB / 1.366 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.8465, allocations: 0 / 1.366 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.972e-05/0.8466, allocations: 29.7 kB / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.8466, allocations: 0 / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.8466, allocations: 0 / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.8466, allocations: 0 / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.8466, allocations: 3.938 kB / 1.366 GB, free: 3.203 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.8467, allocations: 156.5 kB / 1.366 GB, free: 3.004 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.8468, allocations: 18.58 kB / 1.366 GB, free: 2.977 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.8468, allocations: 6.828 kB / 1.366 GB, free: 2.969 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.847, allocations: 89.16 kB / 1.366 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.847, allocations: 33.75 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.847, allocations: 0 / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.8471, allocations: 37.62 kB / 1.366 GB, free: 2.781 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.8472, allocations: 55.44 kB / 1.367 GB, free: 2.715 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.522e-05/0.8472, allocations: 85 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.8472, allocations: 25.7 kB / 1.367 GB, free: 2.594 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.8472, allocations: 80.14 kB / 1.367 GB, free: 2.512 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.8473, allocations: 0.7812 kB / 1.367 GB, free: 2.512 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.8473, allocations: 7.938 kB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.8474, allocations: 321.9 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.8474, allocations: 0 / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-06/0.8474, allocations: 0 / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.768e-05/0.8474, allocations: 8.062 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.8474, allocations: 0 / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.555e-05/0.8475, allocations: 29.7 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.8475, allocations: 4 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.8475, allocations: 0.875 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.8475, allocations: 0 / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-05/0.8476, allocations: 7.938 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8476, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.235e-06/0.8476, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-06/0.8476, allocations: 4.031 kB / 1.367 GB, free: 2.125 MB / 0.823 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 () * 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 5.966e-05/0.8476, allocations: 112.9 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.8477, allocations: 0 / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.8477, allocations: 44.11 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8478, allocations: 0 / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8478, allocations: 0 / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.8478, allocations: 0 / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.209e-05/0.8479, allocations: 149.6 kB / 1.367 GB, free: 1.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8479, allocations: 0 / 1.367 GB, free: 1.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.8479, allocations: 8.031 kB / 1.367 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8479, allocations: 0 / 1.367 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.8479, allocations: 0 / 1.367 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8479, allocations: 3.938 kB / 1.367 GB, free: 1.758 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8479, allocations: 0 / 1.367 GB, free: 1.758 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.888e-05/0.848, allocations: 63.62 kB / 1.367 GB, free: 1.684 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.848, allocations: 81.06 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.848, allocations: 0 / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-06/0.848, allocations: 4.031 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.8481, allocations: 0 / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.8481, allocations: 4 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.8481, allocations: 75.28 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.8481, allocations: 0 / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001784/0.8483, allocations: 18.94 kB / 1.368 GB, free: 1.488 MB / 0.823 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 () * 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.0003882/0.8487, allocations: 0.6196 MB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.332e-05/0.8487, allocations: 4 kB / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8488, allocations: 0 / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.99e-06/0.8488, allocations: 0 / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.301e-05/0.8488, allocations: 160 / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.8491, allocations: 102 kB / 1.368 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.8493, allocations: 0.6731 MB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.094e-05/0.8493, allocations: 0.8594 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.8493, allocations: 7.438 kB / 1.369 GB, free: 16 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/0.8493, allocations: 0 / 1.369 GB, free: 16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.8596, allocations: 0.9604 MB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.8598, allocations: 172.5 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.332, allocations: 0 / 1.37 GB, free: 14.98 MB / 0.8386 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