Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_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.001287/0.001287, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 195.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5936/0.5949, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003164/0.5982, allocations: 1.437 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004772/0.5987, allocations: 160.4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.5987, allocations: 3.938 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.5988, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.5988, allocations: 3.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.5992, allocations: 35.91 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.841e-05/0.5993, allocations: 27.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.5994, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.5994, allocations: 15.92 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.5995, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.5995, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.5996, allocations: 31.97 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.5997, allocations: 15.92 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.5997, allocations: 11.92 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.5999, allocations: 43.89 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5999, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5999, allocations: 3.984 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5999, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 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.0004847/0.6004, allocations: 341.7 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6004, allocations: 8.031 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.6005, allocations: 30.75 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.6005, allocations: 8.938 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.6007, allocations: 164.3 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6007, allocations: 4.375 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.6007, allocations: 4.375 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.6009, allocations: 50.23 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.601, allocations: 7.875 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.601, allocations: 3.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.601, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.6012, allocations: 39.95 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.6016, allocations: 248.9 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.6017, allocations: 42.48 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.6018, allocations: 16.91 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.602, allocations: 93.09 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.602, allocations: 34.5 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.6021, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003786/0.6024, allocations: 77.64 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.6025, allocations: 59.34 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.6026, allocations: 97.98 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.6026, allocations: 29.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.6027, allocations: 88.12 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.6027, allocations: 3.906 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.6027, allocations: 13.72 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6028, allocations: 314.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.6029, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.603, allocations: 31.91 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.6032, allocations: 32.83 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6032, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002228/0.6034, allocations: 65.66 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6034, allocations: 5.875 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6034, allocations: 4.281 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6035, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.6036, allocations: 11.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6036, allocations: 3.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.6036, allocations: 7.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.6036, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.6037, allocations: 121.7 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.6038, allocations: 7.906 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.604, allocations: 68.78 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.604, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6041, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6041, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.6043, allocations: 157.6 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6043, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.6043, allocations: 11.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6043, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.6044, allocations: 4.031 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6044, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6044, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.6046, allocations: 167.4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.6047, allocations: 77.11 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.6047, allocations: 3.984 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.6048, allocations: 8.031 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.6048, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.6048, allocations: 3.984 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.6049, allocations: 83.28 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6049, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002393/0.6051, allocations: 12 kB / 1.022 GB, free: 13.64 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000689/0.6058, allocations: 0.7161 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.6061, allocations: 35.97 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6061, allocations: 4.094 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.6062, allocations: 23.97 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.6065, allocations: 0.6875 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.6069, allocations: 127.3 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.6071, allocations: 0.6768 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.6072, allocations: 12 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.6072, allocations: 11.44 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.6072, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.6266, allocations: 1.478 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.788, allocations: 7.703 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat