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.005201/0.005201, allocations: 101.6 kB / 15.73 MB, free: 6.48 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.001319/0.001319, allocations: 196.1 kB / 16.67 MB, free: 6.379 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.732/2.732, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2725, allocations: 151.6 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002263/0.2748, allocations: 1.428 MB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.2752, allocations: 160.3 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.2752, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.2753, allocations: 3.938 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.2753, allocations: 7.984 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.2756, allocations: 43.84 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.2757, allocations: 19.98 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.2757, allocations: 7.984 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.2758, allocations: 8 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.2758, allocations: 19.84 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2758, allocations: 7.938 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.276, allocations: 31.97 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.276, allocations: 8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.276, allocations: 7.938 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.2761, allocations: 51.86 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2761, allocations: 3.938 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2762, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.2762, allocations: 0 / 1.168 GB, free: 5.559 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.0003766/0.2765, allocations: 342.3 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2766, allocations: 8.031 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.2766, allocations: 34.75 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.2767, allocations: 4.938 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2768, allocations: 164.4 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2768, allocations: 4.375 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.2768, allocations: 384 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.277, allocations: 46.25 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.277, allocations: 3.938 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.277, allocations: 3.984 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.277, allocations: 3.984 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.2771, allocations: 39.91 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.2774, allocations: 249 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2775, allocations: 38.5 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.2776, allocations: 16.91 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.2778, allocations: 89.09 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.2778, allocations: 34.56 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2778, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003162/0.2781, allocations: 85.48 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2782, allocations: 55.34 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.2783, allocations: 106 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2783, allocations: 29.7 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.2783, allocations: 84.14 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.2783, allocations: 4.75 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.2784, allocations: 13.72 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.2785, allocations: 310.8 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.2786, allocations: 19.97 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.2786, allocations: 19.98 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.2788, allocations: 40.77 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2788, allocations: 3.938 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001845/0.279, allocations: 65.66 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.279, allocations: 5.875 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.279, allocations: 8 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.279, allocations: 8.031 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.2791, allocations: 7.984 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2791, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.2791, allocations: 11.92 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.2792, allocations: 0 / 1.17 GB, free: 3.387 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 5.907e-05/0.2792, allocations: 113.8 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2793, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.2795, allocations: 80.72 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.2795, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2795, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2795, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.2796, allocations: 161.6 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2796, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.2797, allocations: 8 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2797, allocations: 0 / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2797, allocations: 3.984 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2797, allocations: 4.031 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2797, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.28, allocations: 171.3 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.28, allocations: 77.11 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.28, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.2801, allocations: 4 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.2801, allocations: 15.95 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.2801, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.2802, allocations: 83.28 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2802, allocations: 0 / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002267/0.2804, allocations: 12 kB / 1.17 GB, free: 2.566 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.0005107/0.2809, allocations: 0.7085 MB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2811, allocations: 43.89 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2811, allocations: 96 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.2812, allocations: 23.98 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2815, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.2818, allocations: 131.1 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.2821, allocations: 0.6806 MB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.2821, allocations: 4 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.2821, allocations: 11.44 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.2821, allocations: 4.062 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/0.4197, allocations: 1.51 MB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.404, allocations: 17.52 kB / 1.174 GB, free: 15.44 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=50 --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