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.001457/0.001457, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001014/0.001014, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9852/0.9852, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.713e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002737/0.002774, allocations: 1.486 MB / 0.813 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004356/0.003209, allocations: 149.1 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.003248, allocations: 7.938 kB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.00328, allocations: 1.25 kB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.003328, allocations: 0 / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.003726, allocations: 43.77 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.0038, allocations: 29.52 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.003893, allocations: 0 / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.003933, allocations: 15.92 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.003974, allocations: 11.97 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.00399, allocations: 1 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.00412, allocations: 35.97 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.004135, allocations: 3.984 kB / 0.8133 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.00416, allocations: 8.688 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.004323, allocations: 52.72 kB / 0.8133 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.004328, allocations: 4 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.353e-06/0.00433, allocations: 0 / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.004334, allocations: 0.75 kB / 0.8133 GB, free: 224 kB / 0.7605 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.0004304/0.004765, allocations: 360.6 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.004813, allocations: 12.88 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.004902, allocations: 4.938 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.005006, allocations: 109.9 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.00502, allocations: 384 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.00503, allocations: 384 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.005191, allocations: 52.92 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.005199, allocations: 192 / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.005211, allocations: 12.3 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.00522, allocations: 384 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.005257, allocations: 7.938 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.005583, allocations: 240.8 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.375e-05/0.005647, allocations: 35.09 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.005673, allocations: 12.59 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.005804, allocations: 7.984 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.005831, allocations: 39.02 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.005833, allocations: 0 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001979/0.006031, allocations: 49.53 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.006067, allocations: 55.41 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.006235, allocations: 167.5 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.00625, allocations: 25.7 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.006301, allocations: 126.9 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.006327, allocations: 19.88 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.006361, allocations: 20.97 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.006465, allocations: 496.1 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.006488, allocations: 4 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.006503, allocations: 3.938 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.006535, allocations: 16.59 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.006538, allocations: 5.688 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.859e-05/0.006637, allocations: 33.7 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.006651, allocations: 4 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.006658, allocations: 3.938 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.006673, allocations: 4.609 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.006759, allocations: 4 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.006765, allocations: 4.688 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.006787, allocations: 0.625 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.006792, allocations: 0 / 0.8152 GB, free: 14.12 MB / 0.7761 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 6.513e-05/0.006857, allocations: 165.6 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.006884, allocations: 8.125 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.006978, allocations: 53.45 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.006982, allocations: 5.328 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.006986, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00699, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.944e-05/0.007089, allocations: 108.6 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.00709, allocations: 1.156 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.007118, allocations: 11.98 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.007119, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.007126, allocations: 4.531 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.007128, allocations: 4.75 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.00713, allocations: 0 / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.594e-05/0.007226, allocations: 192.8 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.007232, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.007242, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.007309, allocations: 13.22 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.007346, allocations: 4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.00735, allocations: 3.984 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.007381, allocations: 123.9 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007381, allocations: 0 / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001644/0.007546, allocations: 17.88 kB / 0.8159 GB, free: 13.36 MB / 0.7761 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.0001694/0.007715, allocations: 104 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.008e-05/0.007795, allocations: 15.69 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007797, allocations: 3.406 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.007817, allocations: 19.62 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.008009, allocations: 10.17 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.008262, allocations: 110.4 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.008299, allocations: 63.2 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.008315, allocations: 0.625 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.008336, allocations: 8.5 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.008336, allocations: 0.5 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of Templates: time 0.002407/0.01074, allocations: 0.6833 MB / 0.8169 GB, free: 12.32 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.08539391704835]