Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.001024/0.001024, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001321/0.001321, allocations: 168.7 kB / 15.95 MB, free: 204 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.369/1.369, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003358, allocations: 16 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.705/0.7054, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.000701/0.7061, allocations: 314.8 kB / 0.9542 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.7065, allocations: 93.66 kB / 0.9543 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.014e-05/0.7065, allocations: 0 / 0.9543 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.7065, allocations: 0 / 0.9543 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.7065, allocations: 0 / 0.9543 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.7068, allocations: 27.78 kB / 0.9543 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.599e-05/0.7069, allocations: 5.375 kB / 0.9543 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.7069, allocations: 3.984 kB / 0.9543 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.377e-05/0.7069, allocations: 1.156 kB / 0.9543 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.38e-05/0.707, allocations: 0 / 0.9543 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.707, allocations: 5.156 kB / 0.9543 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.7071, allocations: 43.75 kB / 0.9543 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.7072, allocations: 3.984 kB / 0.9543 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.7072, allocations: 25.7 kB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.465e-05/0.7073, allocations: 12.86 kB / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7073, allocations: 0.875 kB / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7073, allocations: 0 / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7073, allocations: 0 / 0.9544 GB, free: 7.789 MB / 0.7169 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.0002005/0.7075, allocations: 322.4 kB / 0.9547 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7076, allocations: 10.28 kB / 0.9547 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.7076, allocations: 38.5 kB / 0.9547 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.7076, allocations: 3.953 kB / 0.9547 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.804e-05/0.7077, allocations: 164.3 kB / 0.9549 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.7077, allocations: 0 / 0.9549 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.7077, allocations: 1.406 kB / 0.9549 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.7078, allocations: 26.98 kB / 0.9549 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7078, allocations: 0 / 0.9549 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.7079, allocations: 0 / 0.9549 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7079, allocations: 1.125 kB / 0.9549 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.7079, allocations: 5.391 kB / 0.9549 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.867e-05/0.708, allocations: 154.9 kB / 0.9551 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.071e-05/0.708, allocations: 17.08 kB / 0.9551 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.708, allocations: 8.844 kB / 0.9551 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.7082, allocations: 80.45 kB / 0.9552 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.7083, allocations: 36.2 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.7083, allocations: 0 / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.7084, allocations: 43.23 kB / 0.9552 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.7085, allocations: 51.41 kB / 0.9553 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.939e-05/0.7085, allocations: 89.86 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.7085, allocations: 25.7 kB / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.7085, allocations: 81.58 kB / 0.9555 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.7085, allocations: 3.906 kB / 0.9555 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-06/0.7085, allocations: 0 / 0.9555 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.7086, allocations: 316.1 kB / 0.9558 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-06/0.7086, allocations: 4.125 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.7086, allocations: 1.25 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.63e-05/0.7086, allocations: 9.422 kB / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7087, allocations: 1.469 kB / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.606e-05/0.7087, allocations: 34.7 kB / 0.9558 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.7087, allocations: 4.281 kB / 0.9558 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7087, allocations: 0 / 0.9558 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.7088, allocations: 4.75 kB / 0.9558 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.394e-05/0.7088, allocations: 1.344 kB / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7088, allocations: 4.906 kB / 0.9559 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-06/0.7088, allocations: 0 / 0.9559 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.7088, allocations: 1.594 kB / 0.9559 GB, free: 6.082 MB / 0.7169 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 (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 4.727e-05/0.7089, allocations: 119 kB / 0.956 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.7089, allocations: 0 / 0.956 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.709, allocations: 41.03 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.709, allocations: 0.9062 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.709, allocations: 0 / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.709, allocations: 5.25 kB / 0.956 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.473e-05/0.7091, allocations: 153.6 kB / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.7091, allocations: 1.156 kB / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.7091, allocations: 1.25 kB / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7091, allocations: 1.312 kB / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.7091, allocations: 0 / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7091, allocations: 3.938 kB / 0.9562 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7091, allocations: 1.375 kB / 0.9562 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.311e-05/0.7092, allocations: 66.7 kB / 0.9562 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.7092, allocations: 77.11 kB / 0.9563 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.7092, allocations: 1.219 kB / 0.9563 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.7092, allocations: 0 / 0.9563 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.7093, allocations: 1.469 kB / 0.9563 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.7093, allocations: 3.984 kB / 0.9563 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.398e-05/0.7093, allocations: 75.28 kB / 0.9564 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7093, allocations: 0 / 0.9564 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002074/0.7095, allocations: 8.031 kB / 0.9564 GB, free: 5.457 MB / 0.7169 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 (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.0002985/0.7098, allocations: 0.6217 MB / 0.957 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.656e-05/0.7099, allocations: 3.406 kB / 0.957 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7099, allocations: 1.281 kB / 0.957 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.7099, allocations: 5.188 kB / 0.957 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.71, allocations: 2.016 kB / 0.957 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.7103, allocations: 107.4 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.7104, allocations: 0.6742 MB / 0.9578 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.017e-05/0.7104, allocations: 1.156 kB / 0.9578 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.7104, allocations: 8.688 kB / 0.9578 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.7104, allocations: 3.938 kB / 0.9578 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.7209, allocations: 0.9535 MB / 0.9587 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.7211, allocations: 197.3 kB / 0.9589 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.337, allocations: 10.19 kB / 0.9589 GB, free: 3.324 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat