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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.247/3.247, allocations: 497.2 MB / 0.7811 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 72.3 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3495, allocations: 173.9 MB / 1.304 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001721/0.3512, allocations: 0.5875 MB / 1.305 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.3516, allocations: 95.64 kB / 1.305 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.3516, allocations: 0 / 1.305 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.3516, allocations: 4 kB / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-06/0.3516, allocations: 0 / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.3519, allocations: 35.89 kB / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.897e-05/0.352, allocations: 0 / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.352, allocations: 4 kB / 1.305 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.36e-05/0.352, allocations: 3.938 kB / 1.305 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.829e-05/0.352, allocations: 4 kB / 1.305 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-06/0.352, allocations: 0 / 1.305 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.3522, allocations: 39.89 kB / 1.305 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.3522, allocations: 3.984 kB / 1.305 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.3522, allocations: 8 kB / 1.305 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3523, allocations: 32.12 kB / 1.305 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3523, allocations: 0 / 1.305 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3523, allocations: 0 / 1.305 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3523, allocations: 0 / 1.305 GB, free: 0.7109 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.0003431/0.3527, allocations: 315.9 kB / 1.305 GB, free: 360 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3527, allocations: 8.922 kB / 1.305 GB, free: 352 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.3527, allocations: 34.73 kB / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3528, allocations: 4.938 kB / 1.305 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3529, allocations: 160.4 kB / 1.305 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-06/0.3529, allocations: 4.375 kB / 1.305 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3529, allocations: 384 / 1.305 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.353, allocations: 30.27 kB / 1.305 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.353, allocations: 3.938 kB / 1.305 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.353, allocations: 3.938 kB / 1.305 GB, free: 56 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.353, allocations: 4 kB / 1.305 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.353, allocations: 0 / 1.305 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3532, allocations: 149.6 kB / 1.305 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/0.3533, allocations: 26.61 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.3533, allocations: 8.859 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.3535, allocations: 85.16 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3535, allocations: 30.56 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3535, allocations: 0 / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.3537, allocations: 37.58 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3537, allocations: 51.41 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.3538, allocations: 97.98 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3538, allocations: 29.7 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.3538, allocations: 80.14 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.3538, allocations: 3.984 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.3539, allocations: 9.719 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.354, allocations: 314.8 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-06/0.354, allocations: 0 / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.354, allocations: 0 / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.354, allocations: 12.92 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.354, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.948e-05/0.3541, allocations: 41.59 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3541, allocations: 7.984 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3541, allocations: 3.938 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3541, allocations: 4 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-05/0.3542, allocations: 0 / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.3542, allocations: 0 / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-06/0.3542, allocations: 0 / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3542, allocations: 7.969 kB / 1.306 GB, free: 14.92 MB / 1.014 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.087e-05/0.3543, allocations: 113.8 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.3543, allocations: 0 / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.3544, allocations: 44.75 kB / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3544, allocations: 0 / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3544, allocations: 0 / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3544, allocations: 0 / 1.306 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.3545, allocations: 153.6 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3545, allocations: 3.938 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.3545, allocations: 4.031 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3545, allocations: 7.984 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3545, allocations: 3.938 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3545, allocations: 0 / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3545, allocations: 4 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.574e-05/0.3546, allocations: 53.14 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.3546, allocations: 77.11 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3547, allocations: 11.95 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.3547, allocations: 0 / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3547, allocations: 4 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.3547, allocations: 0 / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.3547, allocations: 75.28 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3547, allocations: 0 / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001955/0.3549, allocations: 11.94 kB / 1.307 GB, free: 14.25 MB / 1.014 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.0004969/0.3554, allocations: 0.6085 MB / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.3555, allocations: 4 kB / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3555, allocations: 0 / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.677e-06/0.3555, allocations: 3.984 kB / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3556, allocations: 12.09 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.3559, allocations: 110.5 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3563, allocations: 0.6768 MB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.217e-05/0.3563, allocations: 3.984 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.3564, allocations: 7.438 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3564, allocations: 0 / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.3801, allocations: 1.155 MB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.293, allocations: 13.67 kB / 1.309 GB, free: 11.71 MB / 1.014 GB " [Timeout remaining time 292] (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 --stepSize=0.001196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.210384561214596]