Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001316/0.001316, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.783/2.783, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003315/0.003315, allocations: 71.88 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.993, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002553/0.9956, allocations: 1.434 MB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004834/0.9961, allocations: 160.7 kB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.9961, allocations: 1.25 kB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.9961, allocations: 4.5 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.9962, allocations: 1.625 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.9965, allocations: 41.19 kB / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.9966, allocations: 22.34 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.9967, allocations: 11.84 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.9967, allocations: 12.17 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.9968, allocations: 9.141 kB / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.9968, allocations: 2.625 kB / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.9969, allocations: 43.36 kB / 1.27 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.9969, allocations: 5.719 kB / 1.27 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.997, allocations: 7.312 kB / 1.27 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.9971, allocations: 50.77 kB / 1.271 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9971, allocations: 1.453 kB / 1.271 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9971, allocations: 3.938 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.9971, allocations: 4.75 kB / 1.271 GB, free: 6.523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004125/0.9975, allocations: 342.4 kB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.9976, allocations: 9.812 kB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.9976, allocations: 31.27 kB / 1.271 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.9977, allocations: 7.094 kB / 1.271 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.9978, allocations: 171 kB / 1.271 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.9978, allocations: 1.375 kB / 1.271 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.9978, allocations: 1.844 kB / 1.271 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.998, allocations: 53.27 kB / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.998, allocations: 7.875 kB / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.998, allocations: 0.875 kB / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.998, allocations: 0 / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.9982, allocations: 37.27 kB / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.9984, allocations: 242 kB / 1.271 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.9985, allocations: 44.41 kB / 1.271 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.9986, allocations: 19.55 kB / 1.271 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.9988, allocations: 88.91 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.9988, allocations: 31.41 kB / 1.272 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.9988, allocations: 0 / 1.272 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003702/0.9992, allocations: 87.88 kB / 1.272 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.9992, allocations: 53.03 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.9992, allocations: 96.67 kB / 1.272 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.9992, allocations: 26.31 kB / 1.272 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.9993, allocations: 90.27 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.9993, allocations: 5.281 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.9993, allocations: 16.98 kB / 1.272 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.9994, allocations: 317 kB / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.3e-05/0.9995, allocations: 13.92 kB / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.9995, allocations: 18.77 kB / 1.272 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.9997, allocations: 44.25 kB / 1.272 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9997, allocations: 9.656 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.9998, allocations: 62.38 kB / 1.272 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.9999, allocations: 5.438 kB / 1.272 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9999, allocations: 0.6094 kB / 1.272 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9999, allocations: 0.8125 kB / 1.272 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/1, allocations: 9.188 kB / 1.272 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/1, allocations: 3.984 kB / 1.272 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/1, allocations: 14.08 kB / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/1, allocations: 1.578 kB / 1.272 GB, free: 4.664 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 (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 4.646e-05/1, allocations: 115.5 kB / 1.272 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/1, allocations: 2.219 kB / 1.273 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/1, allocations: 70.88 kB / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/1, allocations: 1.406 kB / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/1, allocations: 0 / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/1, allocations: 4.812 kB / 1.273 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/1, allocations: 163.3 kB / 1.273 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1, allocations: 0.7188 kB / 1.273 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/1, allocations: 12.62 kB / 1.273 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1, allocations: 0.8438 kB / 1.273 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/1, allocations: 0.7812 kB / 1.273 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1, allocations: 1.594 kB / 1.273 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1, allocations: 0 / 1.273 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/1.001, allocations: 178.4 kB / 1.273 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/1.001, allocations: 79.06 kB / 1.273 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/1.001, allocations: 1.828 kB / 1.273 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/1.001, allocations: 6.031 kB / 1.273 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/1.001, allocations: 1.75 kB / 1.273 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/1.001, allocations: 4.781 kB / 1.273 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.183e-05/1.001, allocations: 80.77 kB / 1.273 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.001, allocations: 0 / 1.273 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002332/1.001, allocations: 14.72 kB / 1.273 GB, free: 3.961 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 (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.0004641/1.002, allocations: 0.7117 MB / 1.274 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002108/1.002, allocations: 39.27 kB / 1.274 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.002, allocations: 0 / 1.274 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/1.002, allocations: 20.36 kB / 1.274 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/1.002, allocations: 4.188 kB / 1.274 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/1.003, allocations: 136.9 kB / 1.274 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/1.003, allocations: 0.6761 MB / 1.275 GB, free: 18.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.236e-05/1.003, allocations: 1.562 kB / 1.275 GB, free: 18.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/1.003, allocations: 13.64 kB / 1.275 GB, free: 18.41 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.003, allocations: 0 / 1.275 GB, free: 18.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/1.028, allocations: 1.532 MB / 1.276 GB, free: 18.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/9.269, allocations: 13.2 kB / 1.276 GB, free: 18 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.553144838195294]