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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001025/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001017/0.001017, allocations: 193.5 kB / 16.14 MB, free: 6.691 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 75.88 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7462, allocations: 140.4 MB / 0.949 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003014/0.7493, allocations: 1.485 MB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.7498, allocations: 164.2 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.7498, allocations: 0 / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.7499, allocations: 3.938 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.75, allocations: 5.359 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.7503, allocations: 30.92 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.7504, allocations: 24.98 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.7505, allocations: 3.312 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.7505, allocations: 19.23 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.7505, allocations: 10.38 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.7506, allocations: 2.031 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.7507, allocations: 39.78 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.7507, allocations: 4 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.7508, allocations: 5.531 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.7509, allocations: 47.95 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7509, allocations: 0 / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7509, allocations: 1.188 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7509, allocations: 0 / 0.9508 GB, free: 7.754 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.0003931/0.7513, allocations: 348.3 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.7514, allocations: 9.688 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.7514, allocations: 34.75 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.7515, allocations: 2.25 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.7516, allocations: 175.1 kB / 0.9514 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.7516, allocations: 384 / 0.9514 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.7516, allocations: 1.875 kB / 0.9514 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.7518, allocations: 48.66 kB / 0.9514 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7518, allocations: 9.031 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.7518, allocations: 3.984 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.7518, allocations: 0.9375 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.752, allocations: 30.28 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.7523, allocations: 248.3 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.7524, allocations: 47.16 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/0.7525, allocations: 26.84 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.7527, allocations: 85.34 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.7527, allocations: 31.88 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7527, allocations: 3.938 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003551/0.7531, allocations: 84.33 kB / 0.952 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.7531, allocations: 51.41 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.432e-05/0.7532, allocations: 99.94 kB / 0.9521 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.7532, allocations: 33.64 kB / 0.9521 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.7532, allocations: 81.42 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.7532, allocations: 5.281 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.7532, allocations: 14.94 kB / 0.9522 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.7533, allocations: 320.2 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.7534, allocations: 17.94 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.7535, allocations: 16.89 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.7536, allocations: 35.52 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7536, allocations: 3.938 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.7538, allocations: 69.53 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7538, allocations: 5 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7538, allocations: 0 / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7539, allocations: 4 kB / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.7539, allocations: 13.92 kB / 0.9527 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.754, allocations: 0 / 0.9527 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.754, allocations: 8.141 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.754, allocations: 5.281 kB / 0.9527 GB, free: 5.777 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.7541, allocations: 114.7 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.7541, allocations: 6.219 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.7543, allocations: 65.59 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7544, allocations: 1.312 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7544, allocations: 0 / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7544, allocations: 0 / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.7545, allocations: 166.4 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7545, allocations: 0 / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.7546, allocations: 5.844 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.7546, allocations: 1.281 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.7546, allocations: 11.92 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7546, allocations: 1.062 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7546, allocations: 0 / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.7548, allocations: 164 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.7548, allocations: 81.09 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7549, allocations: 5.25 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.7549, allocations: 3.344 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.755, allocations: 9.359 kB / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.755, allocations: 5.031 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.755, allocations: 77.94 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.755, allocations: 0 / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002403/0.7553, allocations: 19.06 kB / 0.9534 GB, free: 5.035 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 (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.0004748/0.7557, allocations: 0.7118 MB / 0.9541 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.756, allocations: 37.45 kB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.756, allocations: 0.875 kB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.7561, allocations: 19.52 kB / 0.9542 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.7563, allocations: 6.438 kB / 0.9542 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.7567, allocations: 142.9 kB / 0.9543 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.7568, allocations: 0.6773 MB / 0.955 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.7569, allocations: 4.984 kB / 0.955 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.7569, allocations: 12.53 kB / 0.955 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/0.7569, allocations: 0 / 0.955 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6941/1.451, allocations: 1.317 MB / 0.9563 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.451, allocations: 207.2 kB / 0.9565 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/3.084, allocations: 5.281 kB / 0.9565 GB, free: 2.504 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/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