Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001626/0.001626, allocations: 111.6 kB / 16.46 MB, free: 6.035 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.001816/0.001816, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8727, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001775/0.8745, allocations: 0.5706 MB / 1.269 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003739/0.8749, allocations: 113.5 kB / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.295e-05/0.8749, allocations: 0 / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.8749, allocations: 0 / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.8749, allocations: 0 / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.8752, allocations: 35.84 kB / 1.269 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.8753, allocations: 3.984 kB / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.8753, allocations: 4 kB / 1.27 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.597e-05/0.8753, allocations: 4 kB / 1.27 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.8753, allocations: 0 / 1.27 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.8753, allocations: 4 kB / 1.27 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.8755, allocations: 43.89 kB / 1.27 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.8755, allocations: 0 / 1.27 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.8755, allocations: 0 / 1.27 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.8756, allocations: 25.8 kB / 1.27 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8756, allocations: 0 / 1.27 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8756, allocations: 0 / 1.27 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8757, allocations: 0 / 1.27 GB, free: 4.391 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000337/0.876, allocations: 325.5 kB / 1.27 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.876, allocations: 12.03 kB / 1.27 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.8761, allocations: 34.75 kB / 1.27 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.8761, allocations: 0.9375 kB / 1.27 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.8762, allocations: 164.4 kB / 1.27 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8762, allocations: 4.375 kB / 1.27 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.8762, allocations: 4.375 kB / 1.27 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.819e-05/0.8763, allocations: 30.25 kB / 1.27 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.8763, allocations: 7.875 kB / 1.27 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.8763, allocations: 0 / 1.27 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8764, allocations: 3.984 kB / 1.27 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.8764, allocations: 8 kB / 1.27 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.8765, allocations: 141.7 kB / 1.27 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.8766, allocations: 18.58 kB / 1.27 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.8766, allocations: 12.89 kB / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.8768, allocations: 81.09 kB / 1.27 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.8768, allocations: 34.56 kB / 1.27 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8768, allocations: 4 kB / 1.27 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.877, allocations: 41.56 kB / 1.27 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.877, allocations: 51.41 kB / 1.271 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.8771, allocations: 93.86 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.8771, allocations: 25.7 kB / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.8771, allocations: 80.14 kB / 1.271 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.8772, allocations: 7.938 kB / 1.271 GB, free: 3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.8772, allocations: 9.719 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8773, allocations: 315 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.8773, allocations: 0 / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.998e-06/0.8774, allocations: 7.984 kB / 1.271 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.8774, allocations: 12.8 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8774, allocations: 0 / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.421e-05/0.8775, allocations: 33.7 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8775, allocations: 4 kB / 1.271 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8775, allocations: 3.938 kB / 1.271 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.8775, allocations: 4.094 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.476e-05/0.8775, allocations: 4 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.8775, allocations: 0 / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.8775, allocations: 3.938 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.8776, allocations: 0 / 1.271 GB, free: 2.586 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 (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.438e-05/0.8776, allocations: 109.8 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.8776, allocations: 4 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.762e-05/0.8777, allocations: 44.7 kB / 1.271 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.8777, allocations: 0 / 1.271 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.8777, allocations: 4.031 kB / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.8777, allocations: 0 / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.8778, allocations: 145.7 kB / 1.271 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8778, allocations: 0 / 1.271 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.8779, allocations: 4 kB / 1.271 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.8779, allocations: 0 / 1.271 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.8779, allocations: 7.938 kB / 1.271 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.8779, allocations: 0 / 1.271 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8779, allocations: 0 / 1.271 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.168e-05/0.878, allocations: 73.06 kB / 1.271 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.878, allocations: 77.11 kB / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.878, allocations: 3.938 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-06/0.878, allocations: 0 / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.878, allocations: 0 / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.878, allocations: 3.938 kB / 1.272 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.8781, allocations: 75.28 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8781, allocations: 4 kB / 1.272 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002091/0.8783, allocations: 8.031 kB / 1.272 GB, free: 1.93 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 (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.0004783/0.8788, allocations: 0.609 MB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.59e-05/0.8788, allocations: 11.97 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8788, allocations: 0 / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.8788, allocations: 4 kB / 1.272 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.879, allocations: 4 kB / 1.272 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.8793, allocations: 110.6 kB / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.8796, allocations: 0.669 MB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.245e-05/0.8796, allocations: 4 kB / 1.273 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.8796, allocations: 11.38 kB / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.8796, allocations: 128 / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.9022, allocations: 1.164 MB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/9.065, allocations: 15.72 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.19430201780051]