Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.005537/0.005536, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.002199/0.002199, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.387/1.387, 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 12.0.0-master/package.mo): time 2.898/2.898, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 75.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3103, allocations: 162.3 MB / 1.242 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001631/0.312, allocations: 0.5836 MB / 1.242 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.3124, allocations: 111.5 kB / 1.243 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.15e-05/0.3124, allocations: 0 / 1.243 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.3124, allocations: 4 kB / 1.243 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.3124, allocations: 0 / 1.243 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3127, allocations: 27.92 kB / 1.243 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.3128, allocations: 4 kB / 1.243 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3128, allocations: 3.984 kB / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.3128, allocations: 7.984 kB / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.374e-05/0.3129, allocations: 0 / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.3129, allocations: 0 / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.313, allocations: 39.91 kB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.743e-06/0.313, allocations: 0 / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.313, allocations: 0 / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/0.3131, allocations: 35.89 kB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3132, allocations: 0 / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3132, allocations: 0 / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3132, allocations: 0 / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002805/0.3135, allocations: 315.5 kB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3135, allocations: 8.031 kB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.3135, allocations: 34.75 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.3136, allocations: 0.9375 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3137, allocations: 160.4 kB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3137, allocations: 4.375 kB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.3137, allocations: 4.312 kB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.3138, allocations: 34.27 kB / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3138, allocations: 3.938 kB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.3138, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3138, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.45e-05/0.3138, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.314, allocations: 145.7 kB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.3141, allocations: 22.61 kB / 1.243 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.3141, allocations: 12.8 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.3143, allocations: 85.16 kB / 1.243 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3143, allocations: 34.5 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3143, allocations: 0 / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.00012/0.3144, allocations: 37.64 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3145, allocations: 55.39 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.3145, allocations: 93.98 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3146, allocations: 25.7 kB / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.3146, allocations: 84.14 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3146, allocations: 7.891 kB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.3147, allocations: 13.72 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3148, allocations: 310.8 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.3148, allocations: 3.938 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-06/0.3148, allocations: 3.938 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.3148, allocations: 12.92 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3148, allocations: 0 / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.273e-05/0.3149, allocations: 37.69 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3149, allocations: 8 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3149, allocations: 3.938 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.3149, allocations: 0 / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.011e-05/0.315, allocations: 0 / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.315, allocations: 0 / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.315, allocations: 4 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.315, allocations: 32 / 1.244 GB, free: 7.176 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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.029e-05/0.3151, allocations: 113.8 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.3151, allocations: 0 / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.3152, allocations: 48.73 kB / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.3152, allocations: 0 / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3152, allocations: 0 / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.3152, allocations: 4 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.3153, allocations: 141.7 kB / 1.244 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3153, allocations: 0 / 1.244 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.3153, allocations: 8.016 kB / 1.244 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3153, allocations: 0 / 1.244 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3154, allocations: 11.94 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.3154, allocations: 0 / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3154, allocations: 0 / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.085e-05/0.3155, allocations: 57.08 kB / 1.245 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.3155, allocations: 81.09 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3155, allocations: 7.938 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.3155, allocations: 4.031 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-06/0.3155, allocations: 0 / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.3156, allocations: 0 / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.3156, allocations: 75.28 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3156, allocations: 3.938 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001779/0.3158, allocations: 8 kB / 1.245 GB, free: 6.52 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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.0004575/0.3162, allocations: 0.6167 MB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.573e-05/0.3163, allocations: 11.92 kB / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3163, allocations: 0 / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.343e-06/0.3163, allocations: 4 kB / 1.245 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.3164, allocations: 160 / 1.245 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.3167, allocations: 110.6 kB / 1.245 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.317, allocations: 0.6729 MB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.296e-06/0.317, allocations: 0 / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.3171, allocations: 7.438 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3171, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3764/0.6934, allocations: 1.154 MB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.715, allocations: 4.594 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches