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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9228/0.9228, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.827/1.827, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.425e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001702/0.001716, allocations: 1.444 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.00209, allocations: 147.4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.002122, allocations: 3.938 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.002155, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.002202, allocations: 11.88 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.002621, allocations: 27.97 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.002686, allocations: 31.84 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.002768, allocations: 8 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.002803, allocations: 11.98 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.002832, allocations: 7.938 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.002846, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.002937, allocations: 39.89 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.002948, allocations: 7.984 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.002963, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.003076, allocations: 47.88 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003078, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.512e-06/0.003079, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.003082, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 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.0003178/0.0034, allocations: 270.3 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.003436, allocations: 8.75 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.003462, allocations: 30.75 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.003501, allocations: 8.859 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.443e-05/0.003575, allocations: 113.7 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.003584, allocations: 384 / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.003593, allocations: 8.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.003711, allocations: 50.23 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.003717, allocations: 4.188 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.003724, allocations: 384 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.003729, allocations: 4.125 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-05/0.003813, allocations: 27.97 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.004061, allocations: 224 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.004135, allocations: 38.56 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.004176, allocations: 20.89 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-05/0.004276, allocations: 7.984 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.004295, allocations: 42.5 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004295, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002193/0.004515, allocations: 77.58 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.004542, allocations: 55.53 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.004591, allocations: 101.9 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004601, allocations: 25.7 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.004632, allocations: 84.14 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.004647, allocations: 7.953 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.00467, allocations: 13.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.00474, allocations: 310.8 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.00478, allocations: 23.92 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.004816, allocations: 16.7 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.004891, allocations: 48.88 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004893, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.004999, allocations: 73.53 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.005009, allocations: 4 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.005013, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.005022, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/0.005069, allocations: 12.03 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.005073, allocations: 0 / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.005095, allocations: 7.984 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.0051, allocations: 3.984 kB / 1.003 GB, free: 9.789 MB / 0.9636 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.572e-05/0.005146, allocations: 105.8 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.005165, allocations: 11.89 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.005287, allocations: 73.14 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.005291, allocations: 3.984 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005295, allocations: 7.969 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005297, allocations: 4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.005401, allocations: 128.7 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005402, allocations: 0 / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.005425, allocations: 4 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.005428, allocations: 7.938 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.005433, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.005434, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005435, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.005558, allocations: 159.5 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.005564, allocations: 11.92 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.005574, allocations: 8 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.005609, allocations: 0 / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.005639, allocations: 7.984 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.005641, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.466e-05/0.005666, allocations: 79.28 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005666, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001598/0.005825, allocations: 19.88 kB / 1.004 GB, free: 9.09 MB / 0.9636 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.0003301/0.006156, allocations: 0.7007 MB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.006271, allocations: 35.91 kB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006272, allocations: 96 / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.006324, allocations: 31.91 kB / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.006504, allocations: 3.938 kB / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.00679, allocations: 130.6 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.006826, allocations: 67.28 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.006841, allocations: 0 / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.006865, allocations: 12.5 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of SimCode: time 2.71e-07/0.006865, allocations: 4 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.02084, allocations: 2.172 MB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.772, allocations: 7.875 kB / 1.007 GB, free: 5.98 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=0.001196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.921905657276511]