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.001182/0.001182, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001283/0.001283, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9369/0.9369, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.839/1.839, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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 1.153e-06/1.153e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.463e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001623/0.001637, allocations: 1.486 MB / 0.813 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.00195, allocations: 157.5 kB / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.001972, allocations: 0 / 0.8131 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.001998, allocations: 3.938 kB / 0.8131 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.002036, allocations: 7.969 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.002326, allocations: 41.03 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.00239, allocations: 15.98 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.002459, allocations: 7.938 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.002489, allocations: 16.61 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.782e-05/0.002517, allocations: 8.891 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.002529, allocations: 4 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.002628, allocations: 35.89 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.002638, allocations: 8.656 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.002655, allocations: 7.938 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.002771, allocations: 48.67 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002773, allocations: 0 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002774, allocations: 1.25 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.002777, allocations: 0 / 0.8133 GB, free: 15.86 MB / 0.7761 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.0002975/0.003074, allocations: 368.5 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 9.205e-05/0.003166, allocations: 10.03 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.003227, allocations: 0.9375 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.0033, allocations: 112.6 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.00331, allocations: 384 / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.003319, allocations: 8.375 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.795e-05/0.003416, allocations: 47.92 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.003424, allocations: 4.188 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.003431, allocations: 5.891 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.003438, allocations: 384 / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.003462, allocations: 7.938 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.003697, allocations: 255.8 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.003743, allocations: 28.03 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.003766, allocations: 11.69 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.003857, allocations: 8.797 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.003875, allocations: 41.33 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.003875, allocations: 0.9375 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.004007, allocations: 49.53 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.004032, allocations: 57.05 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.00409, allocations: 157.9 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.004098, allocations: 25.7 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.004133, allocations: 134.9 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.00415, allocations: 12.48 kB / 0.8146 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.004173, allocations: 23.36 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.004265, allocations: 496.8 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.004275, allocations: 0 / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/0.004284, allocations: 4.656 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.004306, allocations: 12.72 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004308, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.115e-05/0.004359, allocations: 46.16 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.00437, allocations: 5.375 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004375, allocations: 3.938 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.004386, allocations: 4 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.004434, allocations: 5.188 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.004438, allocations: 0 / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.004455, allocations: 7.984 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.004458, allocations: 0.5312 kB / 0.8152 GB, free: 13.75 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 4.888e-05/0.004507, allocations: 153.4 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.004526, allocations: 11.95 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.004593, allocations: 54.52 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004595, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.004598, allocations: 4 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.0046, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/0.004683, allocations: 118 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004683, allocations: 0 / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.004701, allocations: 4 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.004702, allocations: 0 / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.004708, allocations: 0.7188 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.004709, allocations: 3.938 kB / 0.8155 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00471, allocations: 1.938 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.798e-05/0.004788, allocations: 187.9 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.004792, allocations: 3.938 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.004801, allocations: 4 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.722e-05/0.004828, allocations: 4.75 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.004857, allocations: 7.922 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.004859, allocations: 7.438 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.004887, allocations: 119.2 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004887, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001485/0.005035, allocations: 15.94 kB / 0.8159 GB, free: 13 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.0001103/0.005145, allocations: 107.6 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.512e-05/0.005211, allocations: 12.31 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.005212, allocations: 0.5 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.005227, allocations: 17.3 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.005377, allocations: 7.938 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.005579, allocations: 119.2 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.792e-05/0.005607, allocations: 55.22 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.005619, allocations: 0.9375 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.005638, allocations: 12.5 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.005638, allocations: 0.6562 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.002114/0.007752, allocations: 0.7509 MB / 0.8169 GB, free: 11.89 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: 4.9010107587091625]