Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_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.001136/0.001136, allocations: 99.86 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.001266/0.001267, 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 1.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.486/2.486, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8566, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001616/0.8583, allocations: 1.143 MB / 0.9547 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.8587, allocations: 143.8 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.8588, allocations: 1.5 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.8588, allocations: 4 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.8589, allocations: 11.92 kB / 0.9549 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.8592, allocations: 27.34 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.8593, allocations: 12.2 kB / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.8594, allocations: 6.641 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.8594, allocations: 6.375 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.8595, allocations: 11.52 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.8595, allocations: 1.5 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.8597, allocations: 43.86 kB / 0.955 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.8597, allocations: 9.188 kB / 0.955 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.8597, allocations: 26.67 kB / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.8598, allocations: 27.81 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8598, allocations: 0 / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8598, allocations: 0 / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.8599, allocations: 1.156 kB / 0.955 GB, free: 7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003868/0.8602, allocations: 351.9 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8603, allocations: 13.09 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.8603, allocations: 31.78 kB / 0.9554 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.8604, allocations: 5.547 kB / 0.9554 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.519e-05/0.8605, allocations: 164.4 kB / 0.9556 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.8605, allocations: 4 kB / 0.9556 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.8605, allocations: 2.25 kB / 0.9556 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.8607, allocations: 56.67 kB / 0.9556 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8607, allocations: 1.312 kB / 0.9556 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8607, allocations: 4 kB / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8608, allocations: 0 / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.8609, allocations: 44.52 kB / 0.9557 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.8612, allocations: 253 kB / 0.9559 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.8614, allocations: 43.44 kB / 0.956 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.8615, allocations: 89.64 kB / 0.956 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.8616, allocations: 30.56 kB / 0.9561 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.8616, allocations: 5.062 kB / 0.9561 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003755/0.8619, allocations: 102.2 kB / 0.9562 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.862, allocations: 52.81 kB / 0.9562 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.862, allocations: 106.5 kB / 0.9563 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.8621, allocations: 25.7 kB / 0.9563 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.8621, allocations: 85.45 kB / 0.9564 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.8621, allocations: 5.219 kB / 0.9564 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.8621, allocations: 3.938 kB / 0.9564 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.8622, allocations: 316.1 kB / 0.9567 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.8623, allocations: 22.2 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.8624, allocations: 25.88 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.085e-05/0.8625, allocations: 18.08 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8625, allocations: 0 / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.8627, allocations: 78.44 kB / 0.9569 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8627, allocations: 5.406 kB / 0.9569 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.8627, allocations: 0 / 0.9569 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8627, allocations: 0 / 0.9569 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.8628, allocations: 12.7 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8628, allocations: 5.094 kB / 0.9569 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.8629, allocations: 13.36 kB / 0.9569 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.8629, allocations: 1 kB / 0.9569 GB, free: 5.078 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 (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 6.178e-05/0.863, allocations: 112.1 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.863, allocations: 1.281 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.8632, allocations: 87.7 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8632, allocations: 1.094 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8633, allocations: 7.953 kB / 0.9571 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.8633, allocations: 3.938 kB / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.8634, allocations: 154.1 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.8634, allocations: 1.062 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.8634, allocations: 16.39 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8635, allocations: 0 / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.8635, allocations: 1.156 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8635, allocations: 0 / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8635, allocations: 0 / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.8637, allocations: 180.5 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.8637, allocations: 82.17 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.8638, allocations: 1.219 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.8638, allocations: 9.734 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.8639, allocations: 1.094 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.8639, allocations: 1.062 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.692e-05/0.8639, allocations: 86.61 kB / 0.9576 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8639, allocations: 3.938 kB / 0.9576 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002358/0.8642, allocations: 14.08 kB / 0.9576 GB, free: 4.332 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 (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.0005/0.8647, allocations: 0.7181 MB / 0.9583 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.8649, allocations: 51.67 kB / 0.9584 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8649, allocations: 4 kB / 0.9584 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.865, allocations: 20.36 kB / 0.9584 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.8652, allocations: 1.531 kB / 0.9584 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.8656, allocations: 134.8 kB / 0.9585 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.8657, allocations: 0.6866 MB / 0.9592 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.8657, allocations: 5.172 kB / 0.9592 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.8658, allocations: 16.59 kB / 0.9592 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8658, allocations: 0 / 0.9592 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.8771, allocations: 1.241 MB / 0.9604 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.8773, allocations: 182.4 kB / 0.9606 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.502, allocations: 0.9688 kB / 0.9606 GB, free: 1.914 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat