Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001723/0.001723, allocations: 116.3 kB / 17.16 MB, free: 5.984 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.00211/0.00211, allocations: 214.4 kB / 20.13 MB, free: 3.035 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.707/1.707, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.147/3.147, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_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.002392/0.002392, allocations: 63.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002478/1.132, allocations: 1.443 MB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000429/1.132, allocations: 166.2 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/1.132, allocations: 0 / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/1.132, allocations: 3.938 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/1.132, allocations: 3.062 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/1.133, allocations: 41.53 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.02e-05/1.133, allocations: 23.81 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/1.133, allocations: 6.938 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/1.133, allocations: 6.406 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/1.133, allocations: 18.88 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/1.133, allocations: 2.906 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/1.133, allocations: 35.88 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/1.133, allocations: 10.11 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/1.133, allocations: 7.922 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/1.133, allocations: 53.28 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.133, allocations: 0 / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.133, allocations: 0 / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.267e-05/1.133, allocations: 0 / 1.323 GB, free: 23.57 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.0004375/1.134, allocations: 347.9 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.134, allocations: 13.45 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.627e-05/1.134, allocations: 4.188 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/1.134, allocations: 41.41 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/1.134, allocations: 0.9375 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.134, allocations: 167 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.134, allocations: 384 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/1.134, allocations: 2.906 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/1.134, allocations: 59.11 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.134, allocations: 3.938 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/1.134, allocations: 0 / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.134, allocations: 0 / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/1.134, allocations: 32.31 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/1.135, allocations: 250.3 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.135, allocations: 40.67 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/1.135, allocations: 22.27 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/1.135, allocations: 87.25 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.135, allocations: 37.97 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/1.135, allocations: 0 / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003766/1.136, allocations: 82.33 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/1.136, allocations: 53.62 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/1.136, allocations: 102.6 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/1.136, allocations: 25.7 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/1.136, allocations: 80.14 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/1.136, allocations: 6.641 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/1.136, allocations: 17.05 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/1.136, allocations: 317.3 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/1.136, allocations: 11.91 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/1.136, allocations: 23.45 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/1.136, allocations: 45.31 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.136, allocations: 0 / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/1.136, allocations: 67.3 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.136, allocations: 5.281 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.136, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.136, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/1.136, allocations: 10.45 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.136, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/1.136, allocations: 11.94 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/1.136, allocations: 32 / 1.325 GB, free: 21.71 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.309e-05/1.136, allocations: 124.4 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/1.136, allocations: 3.953 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/1.137, allocations: 67.91 kB / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.137, allocations: 0 / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.137, allocations: 2.812 kB / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/1.137, allocations: 0 / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/1.137, allocations: 167.1 kB / 1.325 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.137, allocations: 0 / 1.325 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/1.137, allocations: 14.92 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.137, allocations: 0 / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/1.137, allocations: 4 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.137, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.137, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/1.137, allocations: 170.5 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/1.137, allocations: 77.11 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/1.137, allocations: 0 / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/1.137, allocations: 10.72 kB / 1.326 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/1.137, allocations: 2.938 kB / 1.326 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.137, allocations: 0 / 1.326 GB, free: 21.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.109e-05/1.137, allocations: 78.12 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.137, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002397/1.138, allocations: 14.91 kB / 1.326 GB, free: 21.01 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.0005162/1.138, allocations: 0.7193 MB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002259/1.138, allocations: 33.72 kB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.138, allocations: 3.938 kB / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/1.138, allocations: 18.84 kB / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/1.139, allocations: 6.25 kB / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/1.139, allocations: 149.1 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/1.139, allocations: 0.6778 MB / 1.327 GB, free: 19.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.37e-05/1.139, allocations: 7.844 kB / 1.327 GB, free: 19.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/1.139, allocations: 10.19 kB / 1.327 GB, free: 19.44 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.139, allocations: 0 / 1.327 GB, free: 19.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/1.159, allocations: 1.556 MB / 1.329 GB, free: 19.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.448, allocations: 7.562 kB / 1.329 GB, free: 19.03 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.74772544100415]