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.0007892/0.0007891, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008132/0.0008132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.581/2.581, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.00039, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7581, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001585/0.7597, allocations: 1.137 MB / 0.9822 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.7601, allocations: 150.8 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.7602, allocations: 4 kB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.7602, allocations: 0 / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.7603, allocations: 3.984 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.7606, allocations: 35.91 kB / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.7606, allocations: 15.94 kB / 0.9824 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.7607, allocations: 7.984 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.7608, allocations: 8 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.7608, allocations: 11.86 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.7608, allocations: 4 kB / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.761, allocations: 47.89 kB / 0.9825 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.761, allocations: 3.938 kB / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.761, allocations: 25.7 kB / 0.9825 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.207e-05/0.7611, allocations: 27.95 kB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7611, allocations: 0 / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7612, allocations: 0 / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.7612, allocations: 0 / 0.9826 GB, free: 4.746 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.000428/0.7616, allocations: 349.6 kB / 0.9829 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.7616, allocations: 8.031 kB / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.7617, allocations: 34.56 kB / 0.9829 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.7617, allocations: 7.984 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.7619, allocations: 171 kB / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.7619, allocations: 0 / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.7619, allocations: 4 kB / 0.9831 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.7621, allocations: 57.62 kB / 0.9832 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7621, allocations: 4 kB / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.7621, allocations: 0 / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7621, allocations: 0 / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.7623, allocations: 39.97 kB / 0.9832 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.7626, allocations: 256.8 kB / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.7628, allocations: 46.45 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.7629, allocations: 32.89 kB / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.763, allocations: 85.11 kB / 0.9836 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.7631, allocations: 34.55 kB / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7631, allocations: 0 / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.7634, allocations: 97.66 kB / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.7635, allocations: 55.34 kB / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.7636, allocations: 101.8 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.7636, allocations: 25.7 kB / 0.9839 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.7636, allocations: 80.14 kB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7637, allocations: 11.84 kB / 0.984 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.7637, allocations: 128 / 0.984 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7638, allocations: 322.8 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.7639, allocations: 15.98 kB / 0.9843 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.764, allocations: 23.98 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.764, allocations: 20.05 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.764, allocations: 4 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.7642, allocations: 77.61 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7643, allocations: 8.031 kB / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7643, allocations: 0 / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.7643, allocations: 0 / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.7644, allocations: 15.92 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7644, allocations: 0 / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.7644, allocations: 19.92 kB / 0.9845 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.7645, allocations: 0 / 0.9845 GB, free: 2.531 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 7.982e-05/0.7645, allocations: 117.8 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.7646, allocations: 3.953 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.7648, allocations: 80.78 kB / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7648, allocations: 0 / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7648, allocations: 32 / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7648, allocations: 4 kB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.765, allocations: 161.6 kB / 0.9848 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.765, allocations: 0 / 0.9848 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.7651, allocations: 8 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.7651, allocations: 0 / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7651, allocations: 15.88 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7651, allocations: 0 / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7651, allocations: 0 / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.7653, allocations: 171.5 kB / 0.985 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.7654, allocations: 77.3 kB / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.7654, allocations: 8 kB / 0.9851 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.7655, allocations: 15.97 kB / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.7655, allocations: 3.984 kB / 0.9851 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.7655, allocations: 4 kB / 0.9851 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.7656, allocations: 75.28 kB / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.513e-06/0.7656, allocations: 0 / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002414/0.7658, allocations: 15.94 kB / 0.9852 GB, free: 1.688 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.0006357/0.7665, allocations: 0.7163 MB / 0.9859 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.7667, allocations: 52 kB / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7667, allocations: 0 / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.7668, allocations: 28.03 kB / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.7671, allocations: 11.67 kB / 0.986 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.7675, allocations: 142.2 kB / 0.9861 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.7677, allocations: 0.677 MB / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.7677, allocations: 0 / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.7678, allocations: 11.44 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7678, allocations: 64 / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.7789, allocations: 1.254 MB / 0.988 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.7791, allocations: 206.9 kB / 0.9882 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.535, allocations: 0 / 0.9882 GB, free: 14.6 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