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.001328/0.001328, allocations: 104 kB / 16.45 MB, free: 6.453 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.00143/0.00143, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.29/3.29, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 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: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [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.002153/0.002153, allocations: 68.72 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.344, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002933/0.3469, allocations: 1.447 MB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004753/0.3474, allocations: 164 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.3474, allocations: 4 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.3475, allocations: 0 / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.645e-05/0.3475, allocations: 3.938 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3478, allocations: 31.91 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.3479, allocations: 31.86 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.348, allocations: 3.984 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.348, allocations: 8 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.348, allocations: 11.92 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.348, allocations: 0 / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3482, allocations: 39.91 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3482, allocations: 7.984 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.3482, allocations: 15.94 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3483, allocations: 47.81 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3484, allocations: 0 / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3484, allocations: 3.938 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3484, allocations: 0 / 1.323 GB, free: 0.9844 MB / 1.014 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.0004926/0.3489, allocations: 347.4 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3489, allocations: 11.98 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3489, allocations: 0.9375 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3491, allocations: 180.3 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3491, allocations: 4.312 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.3491, allocations: 384 / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3493, allocations: 50.23 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.3493, allocations: 192 / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3493, allocations: 3.938 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3493, allocations: 0 / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.3495, allocations: 35.95 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3499, allocations: 248.9 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.35, allocations: 38.5 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.3501, allocations: 28.88 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.3503, allocations: 85.09 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3503, allocations: 34.56 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3503, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.3507, allocations: 85.58 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3507, allocations: 51.41 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.3508, allocations: 101.9 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3508, allocations: 25.7 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.3509, allocations: 88.25 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3509, allocations: 7.938 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.3509, allocations: 17.72 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3511, allocations: 310.8 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.3511, allocations: 11.98 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.3512, allocations: 19.98 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3514, allocations: 40.88 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3514, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002265/0.3516, allocations: 77.47 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3516, allocations: 5.875 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3516, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3516, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.3517, allocations: 8.031 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3517, allocations: 3.984 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.3518, allocations: 4 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.3518, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 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 8.007e-05/0.3519, allocations: 117.8 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.3519, allocations: 3.953 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3521, allocations: 84.7 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3521, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3522, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3522, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3523, allocations: 157.6 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3523, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.3524, allocations: 11.98 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3524, allocations: 3.938 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3524, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3524, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3524, allocations: 32 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.3527, allocations: 163.5 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.3527, allocations: 81.11 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3527, allocations: 11.94 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.3528, allocations: 3.984 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.3529, allocations: 4 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3529, allocations: 4.031 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.3529, allocations: 83.27 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3529, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002427/0.3531, allocations: 11.94 kB / 1.326 GB, free: 14.02 MB / 1.029 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.0002094/0.3534, allocations: 111.2 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3536, allocations: 39.97 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.3536, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.3537, allocations: 11.98 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.354, allocations: 21.41 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.3542, allocations: 105.4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3545, allocations: 0.6846 MB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.3546, allocations: 4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.3546, allocations: 7.438 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3546, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Templates: time 0.00313/0.3577, allocations: 0.6477 MB / 1.327 GB, free: 12.33 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.826678544282913]