Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009585/0.0009585, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001375/0.001375, allocations: 161 kB / 24.17 MB, free: 332 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 1.052/1.052, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.854/1.854, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.048e-05, allocations: 3.188 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001219/0.001239, allocations: 0.6192 MB / 0.7607 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003147/0.001554, allocations: 88.53 kB / 0.7608 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.001566, allocations: 4 kB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.001578, allocations: 0 / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-06/0.001583, allocations: 2.578 kB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.001899, allocations: 37.38 kB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.433e-05/0.001933, allocations: 0 / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.001966, allocations: 4 kB / 0.7608 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.00199, allocations: 4.516 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.337e-05/0.002004, allocations: 1.188 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.002012, allocations: 0 / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.002126, allocations: 36.77 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.002135, allocations: 0 / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.236e-06/0.002143, allocations: 1.375 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.002228, allocations: 40.48 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.002229, allocations: 0.9844 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00223, allocations: 0.625 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.002233, allocations: 0 / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001878/0.002421, allocations: 214 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.00245, allocations: 15.97 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.002509, allocations: 0.9375 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.896e-05/0.002568, allocations: 109.8 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.002579, allocations: 6.719 kB / 0.7612 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.002587, allocations: 384 / 0.7612 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.989e-05/0.002647, allocations: 26.27 kB / 0.7612 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.002652, allocations: 1.438 kB / 0.7612 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.002657, allocations: 384 / 0.7612 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.002662, allocations: 384 / 0.7612 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.081e-05/0.002673, allocations: 9.188 kB / 0.7613 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.909e-05/0.002732, allocations: 57.05 kB / 0.7613 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.149e-05/0.002764, allocations: 23.42 kB / 0.7613 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.019e-05/0.002774, allocations: 5.453 kB / 0.7613 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.002884, allocations: 8.047 kB / 0.7613 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.002904, allocations: 31.09 kB / 0.7614 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.002905, allocations: 0.5625 kB / 0.7614 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.674e-05/0.003002, allocations: 35.06 kB / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.00303, allocations: 59.34 kB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.357e-05/0.003053, allocations: 89.86 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003062, allocations: 27.58 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.003079, allocations: 80.14 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.003102, allocations: 4 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.00312, allocations: 13.72 kB / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.003187, allocations: 315.5 kB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-06/0.00319, allocations: 0 / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-06/0.003194, allocations: 1.734 kB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.933e-05/0.003213, allocations: 13.59 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.003215, allocations: 0 / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.625e-05/0.003251, allocations: 35.83 kB / 0.762 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.003261, allocations: 8 kB / 0.762 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.003264, allocations: 0 / 0.762 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.003274, allocations: 0 / 0.762 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.767e-05/0.003302, allocations: 0 / 0.762 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.003304, allocations: 1.812 kB / 0.762 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-06/0.00331, allocations: 4.656 kB / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.003314, allocations: 0 / 0.762 GB, free: 4.477 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.553e-05/0.003359, allocations: 113.8 kB / 0.7621 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.003368, allocations: 3.25 kB / 0.7621 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.003415, allocations: 33.05 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.003417, allocations: 4 kB / 0.7622 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.003418, allocations: 1.312 kB / 0.7622 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.00342, allocations: 0 / 0.7622 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.289e-05/0.003463, allocations: 77.81 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.003463, allocations: 0 / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.003474, allocations: 4 kB / 0.7623 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.003475, allocations: 7.938 kB / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-06/0.003479, allocations: 2.844 kB / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003479, allocations: 0 / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00348, allocations: 0 / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.111e-05/0.003521, allocations: 61.02 kB / 0.7623 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-06/0.003524, allocations: 7.984 kB / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-06/0.003529, allocations: 0 / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-06/0.003532, allocations: 0.9844 kB / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-06/0.003541, allocations: 1.469 kB / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-06/0.003542, allocations: 0 / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.642e-06/0.003549, allocations: 8.859 kB / 0.7623 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003549, allocations: 0 / 0.7623 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.861e-05/0.003648, allocations: 5.531 kB / 0.7624 GB, free: 4.105 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.0001234/0.003771, allocations: 93.62 kB / 0.7624 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.647e-05/0.003818, allocations: 18.08 kB / 0.7625 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.003819, allocations: 0 / 0.7625 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.003824, allocations: 9.516 kB / 0.7625 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.994e-05/0.003864, allocations: 4.594 kB / 0.7625 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001254/0.003989, allocations: 83.2 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.37e-05/0.004013, allocations: 51.36 kB / 0.7626 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.814e-06/0.004021, allocations: 3.469 kB / 0.7626 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.004043, allocations: 51.38 kB / 0.7627 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.004043, allocations: 0 / 0.7627 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.001677/0.00572, allocations: 481.5 kB / 0.7631 GB, free: 3.297 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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.11095976177603]