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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.751/2.751, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.761/4.761, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007028/0.0007032, allocations: 8 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231/1.232, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002614/1.235, allocations: 1.137 MB / 0.982 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005593/1.235, allocations: 154.9 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/1.236, allocations: 0 / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/1.236, allocations: 4 kB / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/1.236, allocations: 4 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/1.236, allocations: 31.89 kB / 0.9822 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.199e-05/1.236, allocations: 19.92 kB / 0.9822 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/1.236, allocations: 0 / 0.9822 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/1.236, allocations: 11.98 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/1.236, allocations: 11.92 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/1.236, allocations: 0 / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/1.237, allocations: 39.95 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/1.237, allocations: 0 / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/1.237, allocations: 33.7 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/1.237, allocations: 27.95 kB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.237, allocations: 0 / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.683e-06/1.237, allocations: 0 / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.237, allocations: 3.938 kB / 0.9823 GB, free: 4.828 MB / 0.7325 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.0006381/1.238, allocations: 345.6 kB / 0.9826 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/1.238, allocations: 12.03 kB / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/1.238, allocations: 34.56 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/1.238, allocations: 0 / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/1.238, allocations: 159.1 kB / 0.9828 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/1.238, allocations: 4 kB / 0.9828 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/1.238, allocations: 3.984 kB / 0.9828 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.238, allocations: 57.58 kB / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.238, allocations: 0 / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/1.238, allocations: 3.984 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.238, allocations: 7.938 kB / 0.9829 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/1.239, allocations: 47.89 kB / 0.9829 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/1.239, allocations: 248.8 kB / 0.9832 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/1.24, allocations: 54.55 kB / 0.9832 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/1.24, allocations: 89.16 kB / 0.9833 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/1.24, allocations: 30.56 kB / 0.9834 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/1.24, allocations: 0 / 0.9834 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000695/1.241, allocations: 97.58 kB / 0.9834 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/1.241, allocations: 51.41 kB / 0.9835 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.241, allocations: 102 kB / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/1.241, allocations: 29.7 kB / 0.9836 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/1.241, allocations: 88.12 kB / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/1.241, allocations: 7.891 kB / 0.9837 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/1.241, allocations: 0 / 0.9837 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.241, allocations: 314.8 kB / 0.984 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/1.241, allocations: 19.98 kB / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/1.242, allocations: 23.98 kB / 0.9841 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/1.242, allocations: 23.97 kB / 0.9841 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.242, allocations: 0 / 0.9841 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003961/1.242, allocations: 81.62 kB / 0.9842 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/1.242, allocations: 8 kB / 0.9842 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.242, allocations: 0 / 0.9842 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.242, allocations: 3.984 kB / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/1.242, allocations: 8 kB / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.242, allocations: 0 / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/1.242, allocations: 16.02 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/1.242, allocations: 0 / 0.9842 GB, free: 2.652 MB / 0.7325 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 0.0001229/1.243, allocations: 105.8 kB / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/1.243, allocations: 11.95 kB / 0.9843 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/1.243, allocations: 80.72 kB / 0.9844 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.243, allocations: 4 kB / 0.9844 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.243, allocations: 3.984 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.243, allocations: 0 / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/1.243, allocations: 157.6 kB / 0.9845 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.243, allocations: 0 / 0.9845 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/1.244, allocations: 11.98 kB / 0.9845 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.244, allocations: 7.969 kB / 0.9846 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.244, allocations: 7.953 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.244, allocations: 0 / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.244, allocations: 7.938 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/1.244, allocations: 171.5 kB / 0.9847 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/1.244, allocations: 77.11 kB / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/1.244, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.244, allocations: 15.94 kB / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/1.244, allocations: 0 / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.244, allocations: 0 / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.291e-05/1.245, allocations: 91.2 kB / 0.9849 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.245, allocations: 0 / 0.9849 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004703/1.245, allocations: 16.03 kB / 0.9849 GB, free: 1.801 MB / 0.7325 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.0009142/1.246, allocations: 0.7128 MB / 0.9856 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003414/1.246, allocations: 47.95 kB / 0.9857 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.246, allocations: 4.062 kB / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.246, allocations: 27.92 kB / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/1.247, allocations: 7.891 kB / 0.9857 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/1.248, allocations: 134.4 kB / 0.9858 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/1.248, allocations: 0.6848 MB / 0.9865 GB, free: 92 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.599e-05/1.248, allocations: 0 / 0.9865 GB, free: 92 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/1.248, allocations: 11.42 kB / 0.9865 GB, free: 80 kB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/1.248, allocations: 7.938 kB / 0.9865 GB, free: 72 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/1.267, allocations: 1.226 MB / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003721/1.268, allocations: 200.7 kB / 0.9879 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/4.019, allocations: 7.812 kB / 0.9879 GB, free: 14.72 MB / 0.7481 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) Environment - environmentSimulation: 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