Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_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.005289/0.005289, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001941/0.001941, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.1 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2617, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002355/0.2641, allocations: 1.44 MB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.2645, allocations: 168.3 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.2645, allocations: 4 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.2645, allocations: 0 / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.2646, allocations: 3.938 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.2649, allocations: 35.91 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.2649, allocations: 23.92 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.675e-05/0.265, allocations: 7.984 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.265, allocations: 8 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.2651, allocations: 11.92 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2651, allocations: 4 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2652, allocations: 43.91 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.2652, allocations: 0 / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.2653, allocations: 15.92 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2654, allocations: 48.09 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2654, allocations: 0 / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2654, allocations: 0 / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2654, allocations: 0 / 1.168 GB, free: 5.504 MB / 0.92 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.0004249/0.2659, allocations: 343.4 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2659, allocations: 8.031 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.2659, allocations: 34.75 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.266, allocations: 4.938 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2661, allocations: 168.3 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2661, allocations: 384 / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.2661, allocations: 4.375 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2663, allocations: 54.17 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2663, allocations: 3.938 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.2663, allocations: 0 / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2663, allocations: 0 / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.2665, allocations: 31.97 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.2668, allocations: 249 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2669, allocations: 46.44 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/0.267, allocations: 16.91 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.2671, allocations: 93.09 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2672, allocations: 30.56 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2672, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.2675, allocations: 77.64 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2676, allocations: 51.41 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.2676, allocations: 117.8 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2677, allocations: 29.7 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.2677, allocations: 92.06 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2678, allocations: 3.953 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.2678, allocations: 17.66 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2679, allocations: 314.8 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.268, allocations: 15.98 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.2681, allocations: 19.98 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2682, allocations: 40.81 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.2682, allocations: 7.938 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001931/0.2684, allocations: 65.62 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2685, allocations: 5.875 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2685, allocations: 4.094 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2685, allocations: 4 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.2686, allocations: 7.984 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2686, allocations: 3.938 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.2686, allocations: 7.984 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.2686, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 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 7.707e-05/0.2687, allocations: 113.8 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.2687, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.269, allocations: 72.78 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.269, allocations: 4 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.269, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.269, allocations: 3.984 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.2691, allocations: 157.6 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2691, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.2692, allocations: 7.984 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2692, allocations: 4 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2692, allocations: 4.031 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.2692, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2692, allocations: 3.938 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.2695, allocations: 163.5 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.2695, allocations: 81.06 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.2695, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.2696, allocations: 12.02 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.2697, allocations: 4 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.2697, allocations: 3.938 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.2697, allocations: 83.28 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2697, allocations: 0 / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002152/0.2699, allocations: 15.92 kB / 1.171 GB, free: 2.496 MB / 0.92 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.0005731/0.2705, allocations: 0.7084 MB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.2707, allocations: 43.98 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2707, allocations: 0 / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.2708, allocations: 19.98 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.271, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.2714, allocations: 139 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.2717, allocations: 0.6768 MB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.2717, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.2717, allocations: 15.56 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.2717, allocations: 0 / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.73/2.001, allocations: 1.506 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/14.07, allocations: 19.33 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches