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.009015/0.009015, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001392/0.001393, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.158/2.158, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8689, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003183/0.8721, allocations: 1.43 MB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005223/0.8726, allocations: 157.6 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.8727, allocations: 0.75 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.8727, allocations: 8.531 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.8728, allocations: 4.75 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.8731, allocations: 42.23 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.986e-05/0.8732, allocations: 27.22 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.8733, allocations: 8.516 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.8734, allocations: 8.688 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.8734, allocations: 9.438 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.8734, allocations: 2.125 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.8736, allocations: 35.62 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.8736, allocations: 4.609 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.8736, allocations: 15.64 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.8738, allocations: 49.39 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8738, allocations: 0 / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8738, allocations: 1 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.8738, allocations: 4 kB / 1.089 GB, free: 4.09 MB / 0.8575 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.0003996/0.8742, allocations: 337.8 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8742, allocations: 8.812 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.8743, allocations: 32.47 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.8743, allocations: 5.938 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.8744, allocations: 164.5 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.8744, allocations: 384 / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.8745, allocations: 2.578 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.8747, allocations: 52.47 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8747, allocations: 3.938 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.8747, allocations: 0.7031 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.8747, allocations: 1.062 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.8749, allocations: 37.05 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.8752, allocations: 250.2 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.8753, allocations: 44.7 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.8754, allocations: 23 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.8756, allocations: 84.83 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.8756, allocations: 32.23 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8756, allocations: 3.938 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003954/0.876, allocations: 84.09 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.8761, allocations: 51.97 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.8761, allocations: 102 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.8762, allocations: 25.7 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.8762, allocations: 85.17 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.8762, allocations: 2.141 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.8762, allocations: 24.72 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.8763, allocations: 312.6 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.8764, allocations: 18.66 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.8765, allocations: 13.75 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.8767, allocations: 49.86 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8767, allocations: 3.938 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.8769, allocations: 67.75 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.8769, allocations: 4.844 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8769, allocations: 4.594 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.8769, allocations: 1.281 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.877, allocations: 8.156 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.877, allocations: 0.7969 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.8771, allocations: 19.05 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.8771, allocations: 0 / 1.091 GB, free: 2.234 MB / 0.8575 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.314e-05/0.8772, allocations: 112.6 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.8772, allocations: 1.469 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.8774, allocations: 75.78 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8775, allocations: 3.984 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8775, allocations: 4.828 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.8775, allocations: 1.781 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.8776, allocations: 158.3 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8776, allocations: 0.7969 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.8777, allocations: 8.609 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8777, allocations: 1.656 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8777, allocations: 0 / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8777, allocations: 1.156 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8777, allocations: 0.6094 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.8779, allocations: 170 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.878, allocations: 82.88 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.878, allocations: 1.984 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.8781, allocations: 5.516 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.8781, allocations: 2.219 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.8781, allocations: 1.156 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.566e-05/0.8782, allocations: 83.83 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8782, allocations: 0 / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002462/0.8784, allocations: 18.86 kB / 1.092 GB, free: 1.535 MB / 0.8575 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.0005573/0.879, allocations: 0.7082 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.8792, allocations: 38.53 kB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8792, allocations: 0.7188 kB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.529e-05/0.8793, allocations: 16.05 kB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.8796, allocations: 11.22 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.8801, allocations: 137 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.8803, allocations: 0.6804 MB / 1.093 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.8804, allocations: 0.875 kB / 1.093 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.8804, allocations: 9.484 kB / 1.093 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8804, allocations: 0 / 1.093 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.8986, allocations: 1.512 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/8.086, allocations: 12.77 kB / 1.095 GB, free: 15.59 MB / 0.8731 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) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches