Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001082/0.001082, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001702/0.001702, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.57/2.57, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.8387 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.42e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001152/0.001166, allocations: 0.6569 MB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000263/0.001429, allocations: 87.69 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.011e-05/0.001439, allocations: 0 / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.001454, allocations: 0 / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.001461, allocations: 0 / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.001762, allocations: 35.83 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.507e-05/0.001797, allocations: 3.938 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.001831, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.001859, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.266e-05/0.001871, allocations: 8 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.00188, allocations: 0 / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.001993, allocations: 35.89 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.002001, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-06/0.002011, allocations: 4 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.002235, allocations: 27.89 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002237, allocations: 0 / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002238, allocations: 0 / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002241, allocations: 4 kB / 0.8395 GB, free: 13.31 MB / 0.8073 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.0001768/0.002417, allocations: 216.7 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.002447, allocations: 8.625 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.002502, allocations: 8.938 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.117e-05/0.002553, allocations: 105.7 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.002562, allocations: 4.375 kB / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-06/0.002567, allocations: 384 / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.513e-05/0.002622, allocations: 30.27 kB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.002628, allocations: 192 / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.002634, allocations: 8.297 kB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.002639, allocations: 384 / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-06/0.002648, allocations: 3.938 kB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.98e-05/0.002708, allocations: 57.05 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.07e-05/0.002739, allocations: 22.52 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-06/0.002748, allocations: 8.953 kB / 0.84 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.002859, allocations: 15.97 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.002876, allocations: 30.56 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.002877, allocations: 0 / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.163e-05/0.002958, allocations: 30.05 kB / 0.84 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.002983, allocations: 51.41 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.229e-05/0.003005, allocations: 93.8 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.003012, allocations: 25.7 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.00303, allocations: 84.27 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.003054, allocations: 7.953 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.003072, allocations: 13.7 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.003137, allocations: 318.8 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-06/0.003141, allocations: 0 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-06/0.003145, allocations: 0 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.003165, allocations: 8.859 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.003167, allocations: 0 / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.987e-05/0.003207, allocations: 33.7 kB / 0.8406 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.003216, allocations: 4 kB / 0.8406 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.003222, allocations: 8.078 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.003232, allocations: 3.938 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.49e-05/0.003257, allocations: 4 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.00326, allocations: 0 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-06/0.003266, allocations: 0 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.00327, allocations: 3.984 kB / 0.8407 GB, free: 11.97 MB / 0.8073 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.361e-05/0.003314, allocations: 117.8 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.003328, allocations: 0 / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.003376, allocations: 36.69 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.003378, allocations: 0 / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.003379, allocations: 4.031 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.003381, allocations: 0 / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.057e-05/0.003422, allocations: 61.84 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003422, allocations: 7.938 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.003427, allocations: 0 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.003429, allocations: 0 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-06/0.003432, allocations: 0 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003432, allocations: 0 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.003433, allocations: 3.938 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.477e-05/0.003478, allocations: 69.03 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-06/0.00348, allocations: 4.031 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.003488, allocations: 8 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-06/0.003493, allocations: 4 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-06/0.003501, allocations: 0 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.003503, allocations: 0 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.04e-06/0.003508, allocations: 4.859 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.003508, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001001/0.003608, allocations: 7.984 kB / 0.841 GB, free: 11.59 MB / 0.8073 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.0001067/0.003715, allocations: 92.36 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.447e-05/0.003759, allocations: 16.78 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.003761, allocations: 0 / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.003765, allocations: 4.859 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.381e-05/0.003809, allocations: 7.938 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001139/0.003923, allocations: 70.44 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.487e-05/0.003948, allocations: 55.36 kB / 0.8412 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.135e-06/0.003956, allocations: 0 / 0.8412 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.003977, allocations: 55.48 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.003978, allocations: 0 / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.00176/0.005737, allocations: 460 kB / 0.8417 GB, free: 10.78 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.440884880255908]