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.0016/0.0016, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001956/0.001956, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 3.122/3.122, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.171, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002895/1.173, allocations: 1.458 MB / 1.342 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000453/1.174, allocations: 153.6 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/1.174, allocations: 0 / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/1.174, allocations: 3.938 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/1.174, allocations: 5.844 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/1.174, allocations: 38.55 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.826e-05/1.174, allocations: 28.05 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/1.174, allocations: 3.609 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.709e-05/1.175, allocations: 9.547 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/1.175, allocations: 12.34 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/1.175, allocations: 3.031 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/1.175, allocations: 30.97 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/1.175, allocations: 5.266 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/1.175, allocations: 7.516 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/1.175, allocations: 39.39 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.175, allocations: 0 / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.592e-06/1.175, allocations: 5.438 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.692e-06/1.175, allocations: 3.938 kB / 1.342 GB, free: 15.08 MB / 1.061 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.0004466/1.175, allocations: 349.9 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.175, allocations: 10.03 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/1.175, allocations: 192 / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/1.175, allocations: 36.78 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/1.175, allocations: 2.375 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/1.176, allocations: 167.5 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/1.176, allocations: 4.375 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/1.176, allocations: 1.688 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/1.176, allocations: 53.42 kB / 1.342 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.176, allocations: 4 kB / 1.342 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.176, allocations: 0.6562 kB / 1.342 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/1.176, allocations: 1.312 kB / 1.342 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/1.176, allocations: 36.64 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/1.176, allocations: 249.5 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/1.176, allocations: 36.28 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/1.176, allocations: 24.02 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/1.177, allocations: 84.17 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/1.177, allocations: 35.56 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.177, allocations: 0 / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004189/1.177, allocations: 84.88 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/1.177, allocations: 52.53 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/1.177, allocations: 100.3 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/1.177, allocations: 30.8 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/1.177, allocations: 86.06 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/1.177, allocations: 6.062 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/1.177, allocations: 15.55 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/1.177, allocations: 312.8 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/1.177, allocations: 14.91 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/1.177, allocations: 18.86 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/1.178, allocations: 48.77 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.178, allocations: 0 / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002086/1.178, allocations: 66.83 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.178, allocations: 5.094 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.178, allocations: 2.078 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.178, allocations: 3.938 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/1.178, allocations: 12.53 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.178, allocations: 1.656 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/1.178, allocations: 5.266 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/1.178, allocations: 1.312 kB / 1.344 GB, free: 13.22 MB / 1.061 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 5.418e-05/1.178, allocations: 116.4 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/1.178, allocations: 1.469 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/1.178, allocations: 74.67 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.178, allocations: 5.109 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.178, allocations: 0.7969 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/1.178, allocations: 1.219 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/1.178, allocations: 158.6 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.178, allocations: 0.6094 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/1.179, allocations: 12.7 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.179, allocations: 2.078 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.179, allocations: 0 / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.179, allocations: 0 / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.179, allocations: 6.031 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/1.179, allocations: 161.7 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/1.179, allocations: 83.42 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/1.179, allocations: 0.7969 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/1.179, allocations: 14.19 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/1.179, allocations: 6.891 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/1.179, allocations: 0 / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.612e-05/1.179, allocations: 80.33 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.179, allocations: 0 / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002366/1.179, allocations: 13.64 kB / 1.344 GB, free: 12.52 MB / 1.061 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.0004986/1.18, allocations: 0.7061 MB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002304/1.18, allocations: 41.67 kB / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.18, allocations: 0 / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/1.18, allocations: 27.12 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.18, allocations: 0.6094 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/1.181, allocations: 155.9 kB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/1.181, allocations: 0.6756 MB / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.314e-05/1.181, allocations: 0.7969 kB / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/1.181, allocations: 9.375 kB / 1.346 GB, free: 10.95 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.181, allocations: 1.375 kB / 1.346 GB, free: 10.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/1.2, allocations: 1.544 MB / 1.348 GB, free: 10.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/9.481, allocations: 17.55 kB / 1.348 GB, free: 10.54 MB / 1.061 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.573325110017322]