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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001216/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001175/0.001175, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.109/2.109, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5657, allocations: 140.4 MB / 0.9492 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00215/0.5679, allocations: 1.481 MB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003337/0.5683, allocations: 157.2 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.5683, allocations: 4 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.5684, allocations: 0 / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.5684, allocations: 1.188 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.5687, allocations: 41.33 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.022e-05/0.5687, allocations: 25.48 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.5688, allocations: 3.25 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.5689, allocations: 11.53 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.5689, allocations: 10.42 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.5689, allocations: 1.375 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.569, allocations: 52.83 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.569, allocations: 0 / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.5691, allocations: 14.08 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.5692, allocations: 44.25 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5692, allocations: 0 / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5692, allocations: 0 / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5692, allocations: 1.312 kB / 0.951 GB, free: 7.625 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.0003245/0.5695, allocations: 343.9 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5696, allocations: 13.06 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.157e-05/0.5696, allocations: 35.92 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.5696, allocations: 2.281 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.639e-05/0.5697, allocations: 169.4 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.5697, allocations: 5.625 kB / 0.9516 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.5697, allocations: 1.562 kB / 0.9516 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.5699, allocations: 50.02 kB / 0.9516 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5699, allocations: 3.938 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.5699, allocations: 0 / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5699, allocations: 1.312 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.5701, allocations: 37.95 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.5703, allocations: 252.4 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5704, allocations: 39.25 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.5705, allocations: 27.58 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.5706, allocations: 87.94 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.5707, allocations: 32.25 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.5707, allocations: 3.938 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000303/0.571, allocations: 83.83 kB / 0.9522 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.571, allocations: 56.69 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.98e-05/0.571, allocations: 95.39 kB / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.5711, allocations: 25.7 kB / 0.9523 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.5711, allocations: 85.45 kB / 0.9524 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.5711, allocations: 5.281 kB / 0.9524 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.5711, allocations: 19.58 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.5712, allocations: 316.5 kB / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.5712, allocations: 16.08 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.5713, allocations: 17.55 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.5715, allocations: 39.56 kB / 0.9528 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5715, allocations: 3.938 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001684/0.5716, allocations: 72.31 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.5717, allocations: 6.344 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5717, allocations: 0 / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5717, allocations: 3.938 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.5717, allocations: 6.812 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5718, allocations: 0 / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.5718, allocations: 7.984 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.5718, allocations: 0 / 0.9529 GB, free: 5.656 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 4.375e-05/0.5719, allocations: 115.4 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.5719, allocations: 9.281 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.5721, allocations: 74.73 kB / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5721, allocations: 0 / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5721, allocations: 1.281 kB / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5721, allocations: 192 / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.5722, allocations: 157.7 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5722, allocations: 1.688 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.5723, allocations: 8.641 kB / 0.9533 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5723, allocations: 9.453 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.5723, allocations: 0 / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5723, allocations: 0 / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5723, allocations: 1.656 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.5725, allocations: 161.7 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.5725, allocations: 78.52 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.5725, allocations: 9.5 kB / 0.9535 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.5726, allocations: 6.703 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.5726, allocations: 1.188 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5726, allocations: 5.5 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.989e-05/0.5727, allocations: 89.83 kB / 0.9536 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5727, allocations: 0 / 0.9536 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002181/0.5729, allocations: 9.781 kB / 0.9536 GB, free: 4.91 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.0003872/0.5733, allocations: 0.7061 MB / 0.9543 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.5735, allocations: 41.17 kB / 0.9544 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5735, allocations: 0 / 0.9544 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.5736, allocations: 23.27 kB / 0.9544 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.5738, allocations: 2.562 kB / 0.9544 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.5741, allocations: 145.3 kB / 0.9545 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.764e-05/0.5742, allocations: 0.6765 MB / 0.9552 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.5743, allocations: 9.266 kB / 0.9552 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.5743, allocations: 12.84 kB / 0.9552 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5743, allocations: 0 / 0.9552 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.5933, allocations: 1.359 MB / 0.9565 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001226/0.5934, allocations: 205.5 kB / 0.9567 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.211, allocations: 3.938 kB / 0.9567 GB, free: 2.363 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