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.005083/0.005083, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001244/0.001244, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.297/2.297, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.79, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002861/0.7929, allocations: 1.426 MB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004394/0.7933, allocations: 160 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.7934, allocations: 0 / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.7934, allocations: 9.453 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.7935, allocations: 4.594 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.7938, allocations: 42.31 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.7939, allocations: 23.47 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.794, allocations: 8.641 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.7941, allocations: 8.922 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.7941, allocations: 13.75 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.7942, allocations: 1.75 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.7943, allocations: 41.94 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.7943, allocations: 1.953 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.7944, allocations: 11.5 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.7945, allocations: 49.86 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7946, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7946, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.7946, allocations: 4 kB / 1.089 GB, free: 4.094 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.0004771/0.7951, allocations: 337.5 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.7951, allocations: 10.19 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.7952, allocations: 31.55 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.7952, allocations: 6.688 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.7953, allocations: 162.8 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.7953, allocations: 2.156 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.7954, allocations: 1.344 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.7955, allocations: 57.31 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7956, allocations: 3.938 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.7956, allocations: 0 / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.7956, allocations: 0.9688 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.7957, allocations: 32.67 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.796, allocations: 251.6 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.7962, allocations: 44.05 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.7962, allocations: 22.89 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.7964, allocations: 88.86 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.7964, allocations: 36.2 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7964, allocations: 0 / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.7968, allocations: 80.08 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.7968, allocations: 53.12 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.7969, allocations: 99.86 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.7969, allocations: 26.7 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.797, allocations: 89.91 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.797, allocations: 2.016 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.797, allocations: 20.91 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.7971, allocations: 313.4 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.7972, allocations: 20.12 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.7973, allocations: 18.7 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.7974, allocations: 41.09 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7974, allocations: 12 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.7976, allocations: 67.91 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7976, allocations: 5.656 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7976, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7977, allocations: 0.9688 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.7977, allocations: 9.109 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7978, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.7978, allocations: 10.23 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.7978, allocations: 5.703 kB / 1.091 GB, free: 2.238 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.218e-05/0.7979, allocations: 111.2 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.7979, allocations: 2.469 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.7981, allocations: 71.2 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7981, allocations: 0.875 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.7981, allocations: 0 / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7982, allocations: 4.875 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.7983, allocations: 159.5 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7983, allocations: 0.875 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.7983, allocations: 9.156 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7984, allocations: 0 / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.7984, allocations: 0.8125 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7984, allocations: 1.578 kB / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7984, allocations: 0 / 1.091 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.7986, allocations: 170.5 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.7986, allocations: 83.02 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.7986, allocations: 1.703 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.7987, allocations: 5.672 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.7988, allocations: 1.922 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.7988, allocations: 1.062 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.452e-05/0.7988, allocations: 84.33 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7988, allocations: 4.031 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002392/0.799, allocations: 14.3 kB / 1.092 GB, free: 1.547 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.0005895/0.7996, allocations: 0.7124 MB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.7999, allocations: 35.16 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7999, allocations: 0 / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.8, allocations: 20.72 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.8003, allocations: 5.234 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.8008, allocations: 153.5 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.8011, allocations: 0.6756 MB / 1.093 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.8011, allocations: 5.234 kB / 1.093 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.8011, allocations: 13.27 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8011, allocations: 1.094 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.8199, allocations: 1.509 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/8.247, allocations: 16.12 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