Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_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.00512/0.005119, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001205/0.001205, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 68.34 kB / 1.054 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3162, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002614/0.3188, allocations: 1.425 MB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004542/0.3193, allocations: 155.5 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.3193, allocations: 4 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.3194, allocations: 3.938 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.3194, allocations: 3.938 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.3198, allocations: 35.91 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.3199, allocations: 23.91 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.32, allocations: 8 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.32, allocations: 11.92 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.3201, allocations: 12 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3201, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.3203, allocations: 39.95 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.3203, allocations: 7.875 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3203, allocations: 15.92 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3205, allocations: 47.88 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3205, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3205, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3205, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 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.0004629/0.321, allocations: 343.7 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.321, allocations: 12.62 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.3211, allocations: 30.75 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.3211, allocations: 8.875 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3212, allocations: 164.4 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3213, allocations: 384 / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3213, allocations: 384 / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.3215, allocations: 50.23 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3215, allocations: 7.875 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3215, allocations: 4 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3215, allocations: 0 / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3217, allocations: 35.95 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.322, allocations: 248.9 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3222, allocations: 42.48 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.3223, allocations: 28.91 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.3225, allocations: 85.09 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3225, allocations: 34.5 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3225, allocations: 0 / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003976/0.3229, allocations: 85.73 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.323, allocations: 51.41 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.323, allocations: 93.86 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3231, allocations: 29.7 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.3231, allocations: 84.12 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3231, allocations: 7.906 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.3232, allocations: 9.719 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3233, allocations: 314.8 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.3234, allocations: 20.02 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.3235, allocations: 27.91 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3236, allocations: 36.83 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3237, allocations: 3.938 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002247/0.3239, allocations: 69.72 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3239, allocations: 5.875 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3239, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3239, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.324, allocations: 11.98 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.324, allocations: 3.984 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.3241, allocations: 7.938 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.3241, allocations: 0 / 1.211 GB, free: 6.23 MB / 0.9669 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 8.08e-05/0.3242, allocations: 125.7 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.3242, allocations: 7.938 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.3245, allocations: 64.78 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3245, allocations: 192 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3245, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3245, allocations: 3.984 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3247, allocations: 165.5 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3247, allocations: 4 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.3248, allocations: 12.02 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3248, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3248, allocations: 4 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3248, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3248, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.3251, allocations: 159.4 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3251, allocations: 85.14 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3251, allocations: 3.984 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.3252, allocations: 4 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.3253, allocations: 7.984 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3253, allocations: 0 / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.3253, allocations: 79.28 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3253, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002449/0.3256, allocations: 16 kB / 1.212 GB, free: 5.402 MB / 0.9669 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.000614/0.3262, allocations: 0.7124 MB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3264, allocations: 36 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3265, allocations: 0 / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3266, allocations: 23.97 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3269, allocations: 0 / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.3274, allocations: 143 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3277, allocations: 0.6808 MB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.3277, allocations: 3.938 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.3277, allocations: 11.44 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.3277, allocations: 0 / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.3475, allocations: 1.528 MB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.045, allocations: 10.17 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches